#985CB8#985CB8
#985CB8 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.9% C 0.148 H 312.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #985CB8 |
|---|---|
| RGB | rgb(152, 92, 184) |
| HSL | hsl(279, 39%, 54%) |
| HSV | hsv(279, 50%, 72%) |
| CMYK | cmyk(17.4%, 50%, 0%, 27.8%) |
| CIE-LAB | lab(49.24, 40.96, -39.13) |
| CIE-LCH | lch(49.24, 56.64, 316.31°) |
| OKLab | oklab(57.94% 0.1007 -0.1091) |
| OKLCH | oklch(57.94% 0.148 312.7) |
| XYZ | xyz(25.4263, 17.7910, 47.4327) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.67
Deep Lavender
#8D5EB7
ΔE00 2.46
Deep Lilac
#966EBD
ΔE00 5.46
Mediumorchid
#BA55D3
ΔE00 7.01
Purply
#983FB2
ΔE00 7.02
Soft Purple
#A66FB5
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985CB8 #7CB85C
analogous
#6A5CB8 #985CB8 #B85CAA
triadic
#985CB8 #B8985C #5CB898
tetradic
#985CB8 #B86A5C #7CB85C #5CAAB8
square
#985CB8 #B86A5C #7CB85C #5CAAB8
split-complementary
#985CB8 #AAB85C #5CB86A
monochromatic
#562F6B #784196 #985CB8 #B387CB #CEB1DD
Accessibility & contrast
On white
4.61
#985CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#985CB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #985CB8
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##985CB8 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4772BB
Deuteranopia (green-blind)
#5876B6
Tritanopia (blue-blind)
#956B81
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #985cb8; /* rgb */ color: rgb(152, 92, 184); /* oklch */ color: oklch(57.9% 0.148 312.7);
Tailwind
colors: {
custom: {
50: '#b88cce',
500: '#985cb8',
950: '#000000',
},
}SCSS
$custom: #985cb8; $custom-light: #b88cce; $custom-dark: #000000;
JSON
{
"hex": "#985cb8",
"rgb": {
"r": 152,
"g": 92,
"b": 184
},
"hsl": {
"h": 279.13,
"s": 39.316,
"l": 54.118
},
"oklch": {
"l": 0.57942,
"c": 0.14844,
"h": 312.7
},
"luminance": 0.1779
}Semantic roles & 50–950 ramp
primary
#985CB8
secondary
#B2CBA4
accent
#CF5982
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82