#985CC2#985CC2
#985CC2 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.160 H 309.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #985CC2 |
|---|---|
| RGB | rgb(152, 92, 194) |
| HSL | hsl(275, 46%, 56%) |
| HSV | hsv(275, 53%, 76%) |
| CMYK | cmyk(21.6%, 52.6%, 0%, 23.9%) |
| CIE-LAB | lab(49.77, 43.21, -44.08) |
| CIE-LCH | lch(49.77, 61.73, 314.43°) |
| OKLab | oklab(58.5% 0.1017 -0.1235) |
| OKLCH | oklch(58.5% 0.16 309.5) |
| XYZ | xyz(26.5118, 18.2252, 53.1496) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.27
Deep Lavender
#8D5EB7
ΔE00 2.71
Deep Lilac
#966EBD
ΔE00 5.54
Lightish Purple
#A552E6
ΔE00 5.87
Mediumorchid
#BA55D3
ΔE00 6.49
Purpley
#8756E4
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985CC2 #86C25C
analogous
#655CC2 #985CC2 #C25CB9
triadic
#985CC2 #C2985C #5CC298
tetradic
#985CC2 #C2655C #86C25C #5CB9C2
square
#985CC2 #C2655C #86C25C #5CB9C2
split-complementary
#985CC2 #B9C25C #5CC265
monochromatic
#582D77 #793DA4 #985CC2 #B489D3 #D0B5E3
Accessibility & contrast
On white
4.52
#985CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#985CC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #985CC2
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985CC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##985CC2 | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F74C5
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#926E86
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #985cc2; /* rgb */ color: rgb(152, 92, 194); /* oklch */ color: oklch(58.5% 0.160 309.5);
Tailwind
colors: {
custom: {
50: '#b98cd5',
500: '#985cc2',
950: '#000000',
},
}SCSS
$custom: #985cc2; $custom-light: #b98cd5; $custom-dark: #000000;
JSON
{
"hex": "#985cc2",
"rgb": {
"r": 152,
"g": 92,
"b": 194
},
"hsl": {
"h": 275.294,
"s": 45.536,
"l": 56.078
},
"oklch": {
"l": 0.58503,
"c": 0.15997,
"h": 309.5
},
"luminance": 0.18225
}Semantic roles & 50–950 ramp
primary
#985CC2
secondary
#B9D2A8
accent
#D55388
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83