#9D86EB#9D86EB
#9D86EB is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.3% C 0.146 H 292.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9D86EB |
|---|---|
| RGB | rgb(157, 134, 235) |
| HSL | hsl(254, 72%, 72%) |
| HSV | hsv(254, 43%, 92%) |
| CMYK | cmyk(33.2%, 43%, 0%, 7.8%) |
| CIE-LAB | lab(61.84, 30.95, -48.08) |
| CIE-LCH | lch(61.84, 57.18, 302.77°) |
| OKLab | oklab(68.34% 0.0562 -0.1351) |
| OKLCH | oklch(68.34% 0.146 292.6) |
| XYZ | xyz(37.4213, 30.2157, 82.4418) |
| Luminance | 0.3022 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.04
Periwinkle (survey)
#8E82FE
ΔE00 4.64
Lavender Blue
#8B88F8
ΔE00 4.84
Mediumpurple
#9370DB
ΔE00 6.66
Liliac
#C48EFD
ΔE00 7.49
Light Urple
#B36FF6
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D86EB #D4EB86
analogous
#86A2EB #9D86EB #CF86EB
triadic
#9D86EB #EB9D86 #86EB9D
tetradic
#9D86EB #EB86A2 #D4EB86 #86EBCF
square
#9D86EB #EB86A2 #D4EB86 #86EBCF
split-complementary
#9D86EB #EBCF86 #A2EB86
monochromatic
#4B23D4 #7251E2 #9D86EB #C8BBF4 #EAE5FB
Accessibility & contrast
On white
2.98
#9D86EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#9D86EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D86EB
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D86EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D86EB | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6697EF
Deuteranopia (green-blind)
#6894E9
Tritanopia (blue-blind)
#8B99AD
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9d86eb; /* rgb */ color: rgb(157, 134, 235); /* oklch */ color: oklch(68.3% 0.146 292.6);
Tailwind
colors: {
custom: {
50: '#bda9f2',
500: '#9d86eb',
950: '#000000',
},
}SCSS
$custom: #9d86eb; $custom-light: #bda9f2; $custom-dark: #000000;
JSON
{
"hex": "#9d86eb",
"rgb": {
"r": 157,
"g": 134,
"b": 235
},
"hsl": {
"h": 253.663,
"s": 71.631,
"l": 72.353
},
"oklch": {
"l": 0.68338,
"c": 0.14631,
"h": 292.6
},
"luminance": 0.30216
}Semantic roles & 50–950 ramp
primary
#9D86EB
secondary
#ECF2D9
accent
#D412A8
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85