#9F6EF2#9F6EF2
#9F6EF2 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.9% C 0.191 H 298.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9F6EF2 |
|---|---|
| RGB | rgb(159, 110, 242) |
| HSL | hsl(262, 84%, 69%) |
| HSV | hsv(262, 55%, 95%) |
| CMYK | cmyk(34.3%, 54.5%, 0%, 5.1%) |
| CIE-LAB | lab(57.01, 46.72, -59.64) |
| CIE-LCH | lch(57.01, 75.76, 308.07°) |
| OKLab | oklab(64.9% 0.0898 -0.1689) |
| OKLCH | oklch(64.9% 0.191 298) |
| XYZ | xyz(35.8971, 24.9332, 86.9085) |
| Luminance | 0.2493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.67
Mediumpurple
#9370DB
ΔE00 3.82
Lighter Purple
#A55AF4
ΔE00 4.71
Easter Purple
#C071FE
ΔE00 5.96
Light Purple
#BF77F6
ΔE00 6.38
Mediumslateblue
#7B68EE
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F6EF2 #C1F26E
analogous
#6E7FF2 #9F6EF2 #E16EF2
triadic
#9F6EF2 #F29F6E #6EF29F
tetradic
#9F6EF2 #F26E7F #C1F26E #6EF2E1
square
#9F6EF2 #F26E7F #C1F26E #6EF2E1
split-complementary
#9F6EF2 #F2E16E #7FF26E
monochromatic
#5A13D3 #7A36ED #9F6EF2 #C4A6F7 #E9DEFC
Accessibility & contrast
On white
3.51
#9F6EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#9F6EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F6EF2
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F6EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F6EF2 | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3589F6
Deuteranopia (green-blind)
#4587EF
Tritanopia (blue-blind)
#8D89A6
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9f6ef2; /* rgb */ color: rgb(159, 110, 242); /* oklch */ color: oklch(64.9% 0.191 298.0);
Tailwind
colors: {
custom: {
50: '#bf99f7',
500: '#9f6ef2',
950: '#000000',
},
}SCSS
$custom: #9f6ef2; $custom-light: #bf99f7; $custom-dark: #000000;
JSON
{
"hex": "#9f6ef2",
"rgb": {
"r": 159,
"g": 110,
"b": 242
},
"hsl": {
"h": 262.273,
"s": 83.544,
"l": 69.02
},
"oklch": {
"l": 0.64896,
"c": 0.19126,
"h": 298
},
"luminance": 0.24934
}Semantic roles & 50–950 ramp
primary
#9F6EF2
secondary
#E3F1CB
accent
#E0068F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85