#985ED6#985ED6
#985ED6 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.0% C 0.180 H 303.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #985ED6 |
|---|---|
| RGB | rgb(152, 94, 214) |
| HSL | hsl(269, 59%, 60%) |
| HSV | hsv(269, 56%, 84%) |
| CMYK | cmyk(29%, 56.1%, 0%, 16.1%) |
| CIE-LAB | lab(51.31, 46.82, -53.08) |
| CIE-LCH | lch(51.31, 70.78, 311.41°) |
| OKLab | oklab(60% 0.1001 -0.1498) |
| OKLCH | oklch(60% 0.18 303.8) |
| XYZ | xyz(29.0865, 19.5359, 65.8438) |
| Luminance | 0.1954 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.63
Amethyst
#9B5FC0
ΔE00 4.12
Lighter Purple
#A55AF4
ΔE00 4.56
Purpley
#8756E4
ΔE00 4.74
Mediumpurple
#9370DB
ΔE00 5.25
Deep Lavender
#8D5EB7
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985ED6 #9CD65E
analogous
#5E60D6 #985ED6 #D45ED6
triadic
#985ED6 #D6985E #5ED698
tetradic
#985ED6 #D65E60 #9CD65E #5ED6D4
square
#985ED6 #D65E60 #9CD65E #5ED6D4
split-complementary
#985ED6 #D6D45E #60D65E
monochromatic
#5B2694 #7932C5 #985ED6 #B78FE2 #D6C0EF
Accessibility & contrast
On white
4.28
#985ED6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#985ED6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #985ED6
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985ED6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##985ED6 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F79DA
Deuteranopia (green-blind)
#447AD3
Tritanopia (blue-blind)
#8D7591
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #985ed6; /* rgb */ color: rgb(152, 94, 214); /* oklch */ color: oklch(60.0% 0.180 303.8);
Tailwind
colors: {
custom: {
50: '#ba8ee3',
500: '#985ed6',
950: '#000000',
},
}SCSS
$custom: #985ed6; $custom-light: #ba8ee3; $custom-dark: #000000;
JSON
{
"hex": "#985ed6",
"rgb": {
"r": 152,
"g": 94,
"b": 214
},
"hsl": {
"h": 269,
"s": 59.406,
"l": 60.392
},
"oklch": {
"l": 0.60002,
"c": 0.18018,
"h": 303.8
},
"luminance": 0.19536
}Semantic roles & 50–950 ramp
primary
#985ED6
secondary
#C9DFB1
accent
#C71E76
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C15
muted
#817D84