#9F6DF2#9F6DF2
#9F6DF2 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.7% C 0.193 H 298.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9F6DF2 |
|---|---|
| RGB | rgb(159, 109, 242) |
| HSL | hsl(263, 84%, 69%) |
| HSV | hsv(263, 55%, 95%) |
| CMYK | cmyk(34.3%, 55%, 0%, 5.1%) |
| CIE-LAB | lab(56.80, 47.26, -59.98) |
| CIE-LCH | lch(56.80, 76.36, 308.24°) |
| OKLab | oklab(64.74% 0.091 -0.1699) |
| OKLCH | oklch(64.74% 0.193 298.2) |
| XYZ | xyz(35.7898, 24.7186, 86.8728) |
| Luminance | 0.2472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.70
Mediumpurple
#9370DB
ΔE00 3.86
Lighter Purple
#A55AF4
ΔE00 4.46
Easter Purple
#C071FE
ΔE00 6.01
Light Purple
#BF77F6
ΔE00 6.47
Mediumslateblue
#7B68EE
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F6DF2 #C0F26D
analogous
#6D7EF2 #9F6DF2 #E16DF2
triadic
#9F6DF2 #F29F6D #6DF29F
tetradic
#9F6DF2 #F26D7E #C0F26D #6DF2E1
square
#9F6DF2 #F26D7E #C0F26D #6DF2E1
split-complementary
#9F6DF2 #F2E16D #7EF26D
monochromatic
#5B13D2 #7A35ED #9F6DF2 #C4A5F7 #E9DDFC
Accessibility & contrast
On white
3.53
#9F6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#9F6DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F6DF2
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F6DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F6DF2 | 1.00 | 3.53 | 5.94 | 5.94 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3288F6
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#8D88A5
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9f6df2; /* rgb */ color: rgb(159, 109, 242); /* oklch */ color: oklch(64.7% 0.193 298.2);
Tailwind
colors: {
custom: {
50: '#c098f7',
500: '#9f6df2',
950: '#000000',
},
}SCSS
$custom: #9f6df2; $custom-light: #c098f7; $custom-dark: #000000;
JSON
{
"hex": "#9f6df2",
"rgb": {
"r": 159,
"g": 109,
"b": 242
},
"hsl": {
"h": 262.556,
"s": 83.648,
"l": 68.824
},
"oklch": {
"l": 0.64742,
"c": 0.19271,
"h": 298.2
},
"luminance": 0.24719
}Semantic roles & 50–950 ramp
primary
#9F6DF2
secondary
#E2F1CA
accent
#E0058E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85