#985BCD#985BCD
#985BCD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.174 H 306.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #985BCD |
|---|---|
| RGB | rgb(152, 91, 205) |
| HSL | hsl(272, 53%, 58%) |
| HSV | hsv(272, 56%, 80%) |
| CMYK | cmyk(25.9%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(50.18, 46.29, -49.75) |
| CIE-LCH | lch(50.18, 67.96, 312.93°) |
| OKLab | oklab(59% 0.1037 -0.1401) |
| OKLCH | oklch(59% 0.174 306.5) |
| XYZ | xyz(27.7071, 18.5656, 59.8697) |
| Luminance | 0.1857 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.89
Deep Lavender
#8D5EB7
ΔE00 4.08
Lightish Purple
#A552E6
ΔE00 4.22
Purpley
#8756E4
ΔE00 5.47
Lighter Purple
#A55AF4
ΔE00 5.91
Deep Lilac
#966EBD
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985BCD #90CD5B
analogous
#5F5BCD #985BCD #CD5BC9
triadic
#985BCD #CD985B #5BCD98
tetradic
#985BCD #CD5F5B #90CD5B #5BC9CD
square
#985BCD #CD5F5B #90CD5B #5BC9CD
split-complementary
#985BCD #C9CD5B #5BCD5F
monochromatic
#5A2985 #7A37B4 #985BCD #B58ADB #D3B9EA
Accessibility & contrast
On white
4.46
#985BCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#985BCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #985BCD
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985BCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##985BCD | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#90708B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #985bcd; /* rgb */ color: rgb(152, 91, 205); /* oklch */ color: oklch(59.0% 0.174 306.5);
Tailwind
colors: {
custom: {
50: '#b98cdd',
500: '#985bcd',
950: '#000000',
},
}SCSS
$custom: #985bcd; $custom-light: #b98cdd; $custom-dark: #000000;
JSON
{
"hex": "#985bcd",
"rgb": {
"r": 152,
"g": 91,
"b": 205
},
"hsl": {
"h": 272.105,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.59002,
"c": 0.17425,
"h": 306.5
},
"luminance": 0.18565
}Semantic roles & 50–950 ramp
primary
#985BCD
secondary
#C0D9AB
accent
#DD4B8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83