#985BBE#985BBE
#985BBE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.157 H 310.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #985BBE |
|---|---|
| RGB | rgb(152, 91, 190) |
| HSL | hsl(277, 43%, 55%) |
| HSV | hsv(277, 52%, 75%) |
| CMYK | cmyk(20%, 52.1%, 0%, 25.5%) |
| CIE-LAB | lab(49.35, 42.84, -42.44) |
| CIE-LCH | lch(49.35, 60.31, 315.27°) |
| OKLab | oklab(58.12% 0.1027 -0.1187) |
| OKLCH | oklch(58.12% 0.157 310.9) |
| XYZ | xyz(25.9825, 17.8758, 50.7868) |
| Luminance | 0.1787 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.34
Deep Lavender
#8D5EB7
ΔE00 2.50
Deep Lilac
#966EBD
ΔE00 5.71
Lightish Purple
#A552E6
ΔE00 6.45
Mediumorchid
#BA55D3
ΔE00 6.64
Purply
#983FB2
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985BBE #81BE5B
analogous
#675BBE #985BBE #BE5BB2
triadic
#985BBE #BE985B #5BBE98
tetradic
#985BBE #BE675B #81BE5B #5BB2BE
square
#985BBE #BE675B #81BE5B #5BB2BE
split-complementary
#985BBE #B2BE5B #5BBE67
monochromatic
#572D72 #793E9D #985BBE #B487CF #CFB3E1
Accessibility & contrast
On white
4.59
#985BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#985BBE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #985BBE
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##985BBE | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4172C1
Deuteranopia (green-blind)
#5476BB
Tritanopia (blue-blind)
#946C84
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #985bbe; /* rgb */ color: rgb(152, 91, 190); /* oklch */ color: oklch(58.1% 0.157 310.9);
Tailwind
colors: {
custom: {
50: '#b98bd2',
500: '#985bbe',
950: '#000000',
},
}SCSS
$custom: #985bbe; $custom-light: #b98bd2; $custom-dark: #000000;
JSON
{
"hex": "#985bbe",
"rgb": {
"r": 152,
"g": 91,
"b": 190
},
"hsl": {
"h": 276.97,
"s": 43.231,
"l": 55.098
},
"oklch": {
"l": 0.58121,
"c": 0.15697,
"h": 310.9
},
"luminance": 0.17875
}Semantic roles & 50–950 ramp
primary
#985BBE
secondary
#B6CFA6
accent
#D35585
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82