#985DB7#985DB7
#985DB7 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.0% C 0.146 H 312.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #985DB7 |
|---|---|
| RGB | rgb(152, 93, 183) |
| HSL | hsl(279, 38%, 54%) |
| HSV | hsv(279, 49%, 72%) |
| CMYK | cmyk(16.9%, 49.2%, 0%, 28.2%) |
| CIE-LAB | lab(49.40, 40.19, -38.29) |
| CIE-LCH | lch(49.40, 55.51, 316.38°) |
| OKLab | oklab(58.05% 0.0992 -0.1066) |
| OKLCH | oklch(58.05% 0.146 312.9) |
| XYZ | xyz(25.4090, 17.9236, 46.9117) |
| Luminance | 0.1792 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.72
Deep Lavender
#8D5EB7
ΔE00 2.50
Deep Lilac
#966EBD
ΔE00 5.21
Soft Purple
#A66FB5
ΔE00 6.72
Mediumorchid
#BA55D3
ΔE00 7.10
Purply
#983FB2
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985DB7 #7CB75D
analogous
#6B5DB7 #985DB7 #B75DA9
triadic
#985DB7 #B7985D #5DB798
tetradic
#985DB7 #B76B5D #7CB75D #5DA9B7
square
#985DB7 #B76B5D #7CB75D #5DA9B7
split-complementary
#985DB7 #A9B75D #5DB76B
monochromatic
#562F6A #784295 #985DB7 #B387CA #CEB2DD
Accessibility & contrast
On white
4.58
#985DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#985DB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #985DB7
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985DB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##985DB7 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4972BA
Deuteranopia (green-blind)
#5A77B5
Tritanopia (blue-blind)
#956B81
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #985db7; /* rgb */ color: rgb(152, 93, 183); /* oklch */ color: oklch(58.0% 0.146 312.9);
Tailwind
colors: {
custom: {
50: '#b88dcd',
500: '#985db7',
950: '#000000',
},
}SCSS
$custom: #985db7; $custom-light: #b88dcd; $custom-dark: #000000;
JSON
{
"hex": "#985db7",
"rgb": {
"r": 152,
"g": 93,
"b": 183
},
"hsl": {
"h": 279.333,
"s": 38.462,
"l": 54.118
},
"oklch": {
"l": 0.58046,
"c": 0.14563,
"h": 312.9
},
"luminance": 0.17923
}Semantic roles & 50–950 ramp
primary
#985DB7
secondary
#B2CBA5
accent
#CE5982
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82