#985CBE#985CBE
#985CBE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.155 H 310.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #985CBE |
|---|---|
| RGB | rgb(152, 92, 190) |
| HSL | hsl(277, 43%, 55%) |
| HSV | hsv(277, 52%, 75%) |
| CMYK | cmyk(20%, 51.6%, 0%, 25.5%) |
| CIE-LAB | lab(49.55, 42.30, -42.11) |
| CIE-LCH | lch(49.55, 59.69, 315.13°) |
| OKLab | oklab(58.28% 0.1013 -0.1177) |
| OKLCH | oklch(58.28% 0.155 310.7) |
| XYZ | xyz(26.0686, 18.0479, 50.8155) |
| Luminance | 0.1805 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.11
Deep Lavender
#8D5EB7
ΔE00 2.44
Deep Lilac
#966EBD
ΔE00 5.44
Lightish Purple
#A552E6
ΔE00 6.52
Mediumorchid
#BA55D3
ΔE00 6.64
Purply
#983FB2
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985CBE #82BE5C
analogous
#675CBE #985CBE #BE5CB3
triadic
#985CBE #BE985C #5CBE98
tetradic
#985CBE #BE675C #82BE5C #5CB3BE
square
#985CBE #BE675C #82BE5C #5CB3BE
split-complementary
#985CBE #B3BE5C #5CBE67
monochromatic
#572E72 #793F9E #985CBE #B488CF #CFB4E1
Accessibility & contrast
On white
4.56
#985CBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#985CBE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #985CBE
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985CBE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##985CBE | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4273C1
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#946C84
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #985cbe; /* rgb */ color: rgb(152, 92, 190); /* oklch */ color: oklch(58.3% 0.155 310.7);
Tailwind
colors: {
custom: {
50: '#b88cd2',
500: '#985cbe',
950: '#000000',
},
}SCSS
$custom: #985cbe; $custom-light: #b88cd2; $custom-dark: #000000;
JSON
{
"hex": "#985cbe",
"rgb": {
"r": 152,
"g": 92,
"b": 190
},
"hsl": {
"h": 276.735,
"s": 42.982,
"l": 55.294
},
"oklch": {
"l": 0.58276,
"c": 0.15535,
"h": 310.7
},
"luminance": 0.18047
}Semantic roles & 50–950 ramp
primary
#985CBE
secondary
#B6CFA6
accent
#D35586
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82