#985FCA#985FCA
#985FCA is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.4% C 0.165 H 306.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #985FCA |
|---|---|
| RGB | rgb(152, 95, 202) |
| HSL | hsl(272, 50%, 58%) |
| HSV | hsv(272, 53%, 79%) |
| CMYK | cmyk(24.8%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(50.83, 43.43, -46.99) |
| CIE-LCH | lch(50.83, 63.98, 312.74°) |
| OKLab | oklab(59.43% 0.0983 -0.132) |
| OKLCH | oklch(59.43% 0.165 306.7) |
| XYZ | xyz(27.6996, 19.1244, 58.0978) |
| Luminance | 0.1912 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.14
Deep Lavender
#8D5EB7
ΔE00 3.63
Lightish Purple
#A552E6
ΔE00 5.02
Deep Lilac
#966EBD
ΔE00 5.26
Mediumpurple
#9370DB
ΔE00 5.88
Purpley
#8756E4
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985FCA #91CA5F
analogous
#625FCA #985FCA #CA5FC6
triadic
#985FCA #CA985F #5FCA98
tetradic
#985FCA #CA625F #91CA5F #5FC6CA
square
#985FCA #CA625F #91CA5F #5FC6CA
split-complementary
#985FCA #C6CA5F #5FCA62
monochromatic
#5A2B83 #7A3BB1 #985FCA #B68DD9 #D3BBE8
Accessibility & contrast
On white
4.35
#985FCA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#985FCA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #985FCA
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985FCA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##985FCA | 1.00 | 4.35 | 4.82 | 4.82 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D77CE
Deuteranopia (green-blind)
#4F79C7
Tritanopia (blue-blind)
#90728B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #985fca; /* rgb */ color: rgb(152, 95, 202); /* oklch */ color: oklch(59.4% 0.165 306.7);
Tailwind
colors: {
custom: {
50: '#b98edb',
500: '#985fca',
950: '#000000',
},
}SCSS
$custom: #985fca; $custom-light: #b98edb; $custom-dark: #000000;
JSON
{
"hex": "#985fca",
"rgb": {
"r": 152,
"g": 95,
"b": 202
},
"hsl": {
"h": 271.963,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.59431,
"c": 0.16454,
"h": 306.7
},
"luminance": 0.19124
}Semantic roles & 50–950 ramp
primary
#985FCA
secondary
#C1D8AD
accent
#DA4E8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83