Nearest named color · #9727BD
#9727BD
Nearest named color: Nebula
#9727BD (rgb(151 39 189), hsl(285 66% 45%), oklch(0.519 0.224 315.5)) is closest to the named color Nebula. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9727BD
oklch(0.519 0.224 315.5)
Color conversions
- HEX
- #9727bd
- RGB
- rgb(151 39 189)
- HSL
- hsl(285 66% 45%)
- HWB
- hwb(285 15% 26%)
- OKLCH
- oklch(0.519 0.224 315.5)
- OKLab
- oklab(0.519 0.16 -0.157)
- CIE Lab
- lab(40.29 60.84 -55.99)
- LCH
- lch(40.29 82.68 317.4)
- CMYK
- cmyk(20% 79% 0% 26%)
Tints · Shades · Tones
Tints
- A244C5
- AD5CCC
- B772D4
- C286DB
- CC9BE1
- D7AFE8
- E1C3EE
- EBD7F4
- F5EBFA
Shades
- 8320A4
- 6F1A8C
- 5C1474
- 490E5D
- 370847
- 260433
- 17021F
- 08010D
- 010002
Tones
- 9537B8
- 9343B2
- 914DAC
- 8F56A7
- 8D5EA1
- 8B669B
- 886D94
- 86748E
- 837A87
Color harmonies
Complementary +180°
- 9727BD
Nebula
- 3C7B00
≈ Odd Pea Pod
Analogous -30° +30°
- 9727BD
Nebula
- 6543E0
≈ Bluish Purple
- B70083
≈ Vibrant Velvet
Triadic +120° +240°
- 9727BD
Nebula
- 8C5E00
≈ Rat Brown
- 007879
≈ Prismarine
Split-complementary +150° +210°
- 9727BD
Nebula
- 726B00
≈ Worn Olive
- 007C59
≈ Sharp Green
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 6.28:1 · APCA Lc 80
Ag
FailOn black
WCAG 3.34:1 · APCA Lc 22
Best text color: #FFFFFF
WCAG 6.28:1 (AA) · APCA Lc 80
Contrast pairs
Code snippets
CSS
:root {
--nebula: #9727bd;
--nebula-rgb: 151 39 189;
--nebula-oklch: oklch(0.519 0.224 315.5);
}
.element {
color: var(--nebula);
background-color: hsl(285 66% 45%);
border-color: oklch(0.519 0.224 315.5);
}Tailwind CSS v4
@theme {
--color-nebula: #9727bd;
--color-nebula-50: #ffe2ff;
--color-nebula-100: #ffd1ff;
--color-nebula-200: #fbb5ff;
--color-nebula-300: #e58fff;
--color-nebula-400: #cf6cf6;
--color-nebula-500: #bc42e8;
--color-nebula-600: #9f3ac3;
--color-nebula-700: #7f2e9d;
--color-nebula-800: #5d2177;
--color-nebula-900: #411654;
--color-nebula-950: #2a0639;
}SCSS
$nebula: #9727bd;
$nebula-rgb: 151, 39, 189;
$nebula-light: mix(#fff, $nebula, 20%);
$nebula-dark: mix(#000, $nebula, 20%);
.element {
color: $nebula;
box-shadow: 0 0 0 2px rgba($nebula, 0.35);
}