#985CB9#985CB9
#985CB9 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.150 H 312.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #985CB9 |
|---|---|
| RGB | rgb(152, 92, 185) |
| HSL | hsl(279, 40%, 54%) |
| HSV | hsv(279, 50%, 73%) |
| CMYK | cmyk(17.8%, 50.3%, 0%, 27.5%) |
| CIE-LAB | lab(49.29, 41.18, -39.63) |
| CIE-LCH | lch(49.29, 57.15, 316.10°) |
| OKLab | oklab(58% 0.1008 -0.1105) |
| OKLCH | oklch(58% 0.15 312.4) |
| XYZ | xyz(25.5315, 17.8330, 47.9867) |
| Luminance | 0.1783 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.53
Deep Lavender
#8D5EB7
ΔE00 2.41
Deep Lilac
#966EBD
ΔE00 5.44
Mediumorchid
#BA55D3
ΔE00 6.94
Purply
#983FB2
ΔE00 7.04
Soft Purple
#A66FB5
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985CB9 #7DB95C
analogous
#6A5CB9 #985CB9 #B95CAB
triadic
#985CB9 #B9985C #5CB998
tetradic
#985CB9 #B96A5C #7DB95C #5CABB9
square
#985CB9 #B96A5C #7DB95C #5CABB9
split-complementary
#985CB9 #ABB95C #5CB96A
monochromatic
#562E6C #784197 #985CB9 #B387CB #CEB2DE
Accessibility & contrast
On white
4.60
#985CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#985CB9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #985CB9
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##985CB9 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4672BC
Deuteranopia (green-blind)
#5877B7
Tritanopia (blue-blind)
#956B82
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #985cb9; /* rgb */ color: rgb(152, 92, 185); /* oklch */ color: oklch(58.0% 0.150 312.4);
Tailwind
colors: {
custom: {
50: '#b88cce',
500: '#985cb9',
950: '#000000',
},
}SCSS
$custom: #985cb9; $custom-light: #b88cce; $custom-dark: #000000;
JSON
{
"hex": "#985cb9",
"rgb": {
"r": 152,
"g": 92,
"b": 185
},
"hsl": {
"h": 278.71,
"s": 39.914,
"l": 54.314
},
"oklch": {
"l": 0.57997,
"c": 0.14959,
"h": 312.4
},
"luminance": 0.17832
}Semantic roles & 50–950 ramp
primary
#985CB9
secondary
#B3CCA5
accent
#D05883
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82