#985BAA#985BAA
#985BAA is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.0% C 0.134 H 318.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #985BAA |
|---|---|
| RGB | rgb(152, 91, 170) |
| HSL | hsl(286, 32%, 51%) |
| HSV | hsv(286, 46%, 67%) |
| CMYK | cmyk(10.6%, 46.5%, 0%, 33.3%) |
| CIE-LAB | lab(48.34, 38.47, -32.38) |
| CIE-LCH | lch(48.34, 50.29, 319.92°) |
| OKLab | oklab(57.04% 0.1002 -0.0895) |
| OKLCH | oklch(57.04% 0.134 318.2) |
| XYZ | xyz(23.9447, 17.0606, 40.0541) |
| Luminance | 0.1706 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.29
Amethyst
#9B5FC0
ΔE00 4.32
Medium Purple
#9E43A2
ΔE00 6.00
Dark Lilac
#9C6DA5
ΔE00 6.41
Ugly Purple
#A442A0
ΔE00 6.42
Purplish
#94568C
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985BAA #6DAA5B
analogous
#705BAA #985BAA #AA5B94
triadic
#985BAA #AA985B #5BAA98
tetradic
#985BAA #AA705B #6DAA5B #5B94AA
square
#985BAA #AA705B #6DAA5B #5B94AA
split-complementary
#985BAA #94AA5B #5BAA70
monochromatic
#512F5B #754484 #985BAA #B183BF #CBACD4
Accessibility & contrast
On white
4.76
#985BAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#985BAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #985BAA
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##985BAA | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#98667A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #985baa; /* rgb */ color: rgb(152, 91, 170); /* oklch */ color: oklch(57.0% 0.134 318.2);
Tailwind
colors: {
custom: {
50: '#b88bc3',
500: '#985baa',
950: '#000000',
},
}SCSS
$custom: #985baa; $custom-light: #b88bc3; $custom-dark: #000000;
JSON
{
"hex": "#985baa",
"rgb": {
"r": 152,
"g": 91,
"b": 170
},
"hsl": {
"h": 286.329,
"s": 31.727,
"l": 51.176
},
"oklch": {
"l": 0.57044,
"c": 0.13434,
"h": 318.2
},
"luminance": 0.1706
}Semantic roles & 50–950 ramp
primary
#985BAA
secondary
#A7C29F
accent
#C86078
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81