#9868F2#9868F2
#9868F2 is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.3% C 0.199 H 296.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9868F2 |
|---|---|
| RGB | rgb(152, 104, 242) |
| HSL | hsl(261, 84%, 68%) |
| HSV | hsv(261, 57%, 95%) |
| CMYK | cmyk(37.2%, 57%, 0%, 5.1%) |
| CIE-LAB | lab(55.06, 48.38, -62.82) |
| CIE-LCH | lch(55.06, 79.29, 307.60°) |
| OKLab | oklab(63.3% 0.0882 -0.1784) |
| OKLCH | oklch(63.3% 0.199 296.3) |
| XYZ | xyz(33.9221, 22.9862, 86.6368) |
| Luminance | 0.2299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.76
Mediumpurple
#9370DB
ΔE00 4.01
Mediumslateblue
#7B68EE
ΔE00 5.24
Light Urple
#B36FF6
ΔE00 5.31
Lightish Purple
#A552E6
ΔE00 5.97
Purpley
#8756E4
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9868F2 #C2F268
analogous
#687DF2 #9868F2 #DD68F2
triadic
#9868F2 #F29868 #68F298
tetradic
#9868F2 #F2687D #C2F268 #68F2DD
square
#9868F2 #F2687D #C2F268 #68F2DD
split-complementary
#9868F2 #F2DD68 #7DF268
monochromatic
#5312CE #7230ED #9868F2 #BEA0F7 #E5D9FC
Accessibility & contrast
On white
3.75
#9868F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#9868F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9868F2
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9868F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9868F2 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C85F7
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#8285A3
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9868f2; /* rgb */ color: rgb(152, 104, 242); /* oklch */ color: oklch(63.3% 0.199 296.3);
Tailwind
colors: {
custom: {
50: '#bb95f7',
500: '#9868f2',
950: '#000000',
},
}SCSS
$custom: #9868f2; $custom-light: #bb95f7; $custom-dark: #000000;
JSON
{
"hex": "#9868f2",
"rgb": {
"r": 152,
"g": 104,
"b": 242
},
"hsl": {
"h": 260.87,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.63298,
"c": 0.19899,
"h": 296.3
},
"luminance": 0.22987
}Semantic roles & 50–950 ramp
primary
#9868F2
secondary
#E1F0C6
accent
#E10594
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85