#985BB7#985BB7
#985BB7 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.7% C 0.149 H 313.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #985BB7 |
|---|---|
| RGB | rgb(152, 91, 183) |
| HSL | hsl(280, 39%, 54%) |
| HSV | hsv(280, 50%, 72%) |
| CMYK | cmyk(16.9%, 50.3%, 0%, 28.2%) |
| CIE-LAB | lab(48.98, 41.28, -38.96) |
| CIE-LCH | lch(48.98, 56.76, 316.66°) |
| OKLab | oklab(57.73% 0.102 -0.1086) |
| OKLCH | oklch(57.73% 0.149 313.2) |
| XYZ | xyz(25.2358, 17.5771, 46.8539) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.96
Deep Lavender
#8D5EB7
ΔE00 2.57
Deep Lilac
#966EBD
ΔE00 5.76
Purply
#983FB2
ΔE00 6.73
Medium Purple
#9E43A2
ΔE00 7.00
Mediumorchid
#BA55D3
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985BB7 #7AB75B
analogous
#6A5BB7 #985BB7 #B75BA8
triadic
#985BB7 #B7985B #5BB798
tetradic
#985BB7 #B76A5B #7AB75B #5BA8B7
square
#985BB7 #B76A5B #7AB75B #5BA8B7
split-complementary
#985BB7 #A8B75B #5BB76A
monochromatic
#552E69 #784194 #985BB7 #B386CA #CDB0DC
Accessibility & contrast
On white
4.65
#985BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#985BB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #985BB7
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##985BB7 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#5876B5
Tritanopia (blue-blind)
#956981
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #985bb7; /* rgb */ color: rgb(152, 91, 183); /* oklch */ color: oklch(57.7% 0.149 313.2);
Tailwind
colors: {
custom: {
50: '#b88bcd',
500: '#985bb7',
950: '#000000',
},
}SCSS
$custom: #985bb7; $custom-light: #b88bcd; $custom-dark: #000000;
JSON
{
"hex": "#985bb7",
"rgb": {
"r": 152,
"g": 91,
"b": 183
},
"hsl": {
"h": 279.783,
"s": 38.983,
"l": 53.725
},
"oklch": {
"l": 0.57731,
"c": 0.14897,
"h": 313.2
},
"luminance": 0.17576
}Semantic roles & 50–950 ramp
primary
#985BB7
secondary
#B0CBA3
accent
#CF5981
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82