#9F6BF2#9F6BF2
#9F6BF2 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.4% C 0.196 H 298.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9F6BF2 |
|---|---|
| RGB | rgb(159, 107, 242) |
| HSL | hsl(263, 84%, 68%) |
| HSV | hsv(263, 56%, 95%) |
| CMYK | cmyk(34.3%, 55.8%, 0%, 5.1%) |
| CIE-LAB | lab(56.38, 48.35, -60.65) |
| CIE-LCH | lch(56.38, 77.56, 308.56°) |
| OKLab | oklab(64.44% 0.0934 -0.1718) |
| OKLCH | oklch(64.44% 0.196 298.5) |
| XYZ | xyz(35.5788, 24.2967, 86.8025) |
| Luminance | 0.2430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.82
Lighter Purple
#A55AF4
ΔE00 3.96
Mediumpurple
#9370DB
ΔE00 3.99
Easter Purple
#C071FE
ΔE00 6.14
Lightish Purple
#A552E6
ΔE00 6.30
Mediumslateblue
#7B68EE
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F6BF2 #BEF26B
analogous
#6B7AF2 #9F6BF2 #E26BF2
triadic
#9F6BF2 #F29F6B #6BF29F
tetradic
#9F6BF2 #F26B7A #BEF26B #6BF2E2
square
#9F6BF2 #F26B7A #BEF26B #6BF2E2
split-complementary
#9F6BF2 #F2E26B #7AF26B
monochromatic
#5B12D0 #7B33ED #9F6BF2 #C3A3F7 #E8DCFC
Accessibility & contrast
On white
3.58
#9F6BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#9F6BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F6BF2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F6BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F6BF2 | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C87F6
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#8D87A4
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9f6bf2; /* rgb */ color: rgb(159, 107, 242); /* oklch */ color: oklch(64.4% 0.196 298.5);
Tailwind
colors: {
custom: {
50: '#c097f7',
500: '#9f6bf2',
950: '#000000',
},
}SCSS
$custom: #9f6bf2; $custom-light: #c097f7; $custom-dark: #000000;
JSON
{
"hex": "#9f6bf2",
"rgb": {
"r": 159,
"g": 107,
"b": 242
},
"hsl": {
"h": 263.111,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.64435,
"c": 0.19558,
"h": 298.5
},
"luminance": 0.24297
}Semantic roles & 50–950 ramp
primary
#9F6BF2
secondary
#E1F1C8
accent
#E0058C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85