#985BB9#985BB9
#985BB9 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.8% C 0.151 H 312.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #985BB9 |
|---|---|
| RGB | rgb(152, 91, 185) |
| HSL | hsl(279, 40%, 54%) |
| HSV | hsv(279, 51%, 73%) |
| CMYK | cmyk(17.8%, 50.8%, 0%, 27.5%) |
| CIE-LAB | lab(49.08, 41.72, -39.96) |
| CIE-LCH | lch(49.08, 57.77, 316.24°) |
| OKLab | oklab(57.84% 0.1022 -0.1115) |
| OKLCH | oklch(57.84% 0.151 312.5) |
| XYZ | xyz(25.4454, 17.6609, 47.9580) |
| Luminance | 0.1766 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.70
Deep Lavender
#8D5EB7
ΔE00 2.47
Deep Lilac
#966EBD
ΔE00 5.72
Purply
#983FB2
ΔE00 6.76
Mediumorchid
#BA55D3
ΔE00 6.93
Medium Purple
#9E43A2
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985BB9 #7CB95B
analogous
#695BB9 #985BB9 #B95BAB
triadic
#985BB9 #B9985B #5BB998
tetradic
#985BB9 #B9695B #7CB95B #5BABB9
square
#985BB9 #B9695B #7CB95B #5BABB9
split-complementary
#985BB9 #ABB95B #5BB969
monochromatic
#562E6C #784097 #985BB9 #B386CB #CEB1DE
Accessibility & contrast
On white
4.63
#985BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#985BB9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #985BB9
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##985BB9 | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4471BC
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#956A81
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #985bb9; /* rgb */ color: rgb(152, 91, 185); /* oklch */ color: oklch(57.8% 0.151 312.5);
Tailwind
colors: {
custom: {
50: '#b88bce',
500: '#985bb9',
950: '#000000',
},
}SCSS
$custom: #985bb9; $custom-light: #b88bce; $custom-dark: #000000;
JSON
{
"hex": "#985bb9",
"rgb": {
"r": 152,
"g": 91,
"b": 185
},
"hsl": {
"h": 278.936,
"s": 40.171,
"l": 54.118
},
"oklch": {
"l": 0.57841,
"c": 0.15124,
"h": 312.5
},
"luminance": 0.1766
}Semantic roles & 50–950 ramp
primary
#985BB9
secondary
#B2CCA4
accent
#D05882
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82