#985CA1#985CA1
#985CA1 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 56.8% C 0.123 H 322.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #985CA1 |
|---|---|
| RGB | rgb(152, 92, 161) |
| HSL | hsl(292, 27%, 50%) |
| HSV | hsv(292, 43%, 63%) |
| CMYK | cmyk(5.6%, 42.9%, 0%, 36.9%) |
| CIE-LAB | lab(48.14, 36.06, -27.39) |
| CIE-LCH | lch(48.14, 45.28, 322.77°) |
| OKLab | oklab(56.76% 0.097 -0.0752) |
| OKLCH | oklch(56.76% 0.123 322.2) |
| XYZ | xyz(23.2084, 16.9038, 35.7515) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purplish
#94568C
ΔE00 4.75
Purpleish
#98568D
ΔE00 4.77
Dark Lilac
#9C6DA5
ΔE00 5.48
Deep Lavender
#8D5EB7
ΔE00 6.11
Amethyst
#9B5FC0
ΔE00 6.27
Dark Lavender
#856798
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985CA1 #65A15C
analogous
#765CA1 #985CA1 #A15C88
triadic
#985CA1 #A1985C #5CA198
tetradic
#985CA1 #A1765C #65A15C #5C88A1
square
#985CA1 #A1765C #65A15C #5C88A1
split-complementary
#985CA1 #88A15C #5CA176
monochromatic
#4E2F53 #73467A #985CA1 #B182B8 #C9A9CE
Accessibility & contrast
On white
4.79
#985CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#985CA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #985CA1
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##985CA1 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536EA3
Deuteranopia (green-blind)
#64759F
Tritanopia (blue-blind)
#9A6477
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #985ca1; /* rgb */ color: rgb(152, 92, 161); /* oklch */ color: oklch(56.8% 0.123 322.2);
Tailwind
colors: {
custom: {
50: '#b88cbd',
500: '#985ca1',
950: '#000000',
},
}SCSS
$custom: #985ca1; $custom-light: #b88cbd; $custom-dark: #000000;
JSON
{
"hex": "#985ca1",
"rgb": {
"r": 152,
"g": 92,
"b": 161
},
"hsl": {
"h": 292.174,
"s": 27.273,
"l": 49.608
},
"oklch": {
"l": 0.5676,
"c": 0.12273,
"h": 322.2
},
"luminance": 0.16903
}Semantic roles & 50–950 ramp
primary
#985CA1
secondary
#A1BC9D
accent
#C46471
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81