#985BBA#985BBA
#985BBA is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.152 H 312.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #985BBA |
|---|---|
| RGB | rgb(152, 91, 186) |
| HSL | hsl(279, 41%, 54%) |
| HSV | hsv(279, 51%, 73%) |
| CMYK | cmyk(18.3%, 51.1%, 0%, 27.1%) |
| CIE-LAB | lab(49.13, 41.95, -40.46) |
| CIE-LCH | lch(49.13, 58.28, 316.03°) |
| OKLab | oklab(57.9% 0.1023 -0.1129) |
| OKLCH | oklch(57.9% 0.152 312.2) |
| XYZ | xyz(25.5514, 17.7033, 48.5159) |
| Luminance | 0.1770 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.58
Deep Lavender
#8D5EB7
ΔE00 2.44
Deep Lilac
#966EBD
ΔE00 5.70
Purply
#983FB2
ΔE00 6.78
Mediumorchid
#BA55D3
ΔE00 6.87
Lightish Purple
#A552E6
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#985BBA #7DBA5B
analogous
#695BBA #985BBA #BA5BAD
triadic
#985BBA #BA985B #5BBA98
tetradic
#985BBA #BA695B #7DBA5B #5BADBA
square
#985BBA #BA695B #7DBA5B #5BADBA
split-complementary
#985BBA #ADBA5B #5BBA69
monochromatic
#562E6D #784098 #985BBA #B386CC #CEB1DE
Accessibility & contrast
On white
4.62
#985BBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#985BBA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #985BBA
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##985BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##985BBA | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#956A82
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #985bba; /* rgb */ color: rgb(152, 91, 186); /* oklch */ color: oklch(57.9% 0.152 312.2);
Tailwind
colors: {
custom: {
50: '#b88bcf',
500: '#985bba',
950: '#000000',
},
}SCSS
$custom: #985bba; $custom-light: #b88bcf; $custom-dark: #000000;
JSON
{
"hex": "#985bba",
"rgb": {
"r": 152,
"g": 91,
"b": 186
},
"hsl": {
"h": 278.526,
"s": 40.773,
"l": 54.314
},
"oklch": {
"l": 0.57897,
"c": 0.15239,
"h": 312.2
},
"luminance": 0.17703
}Semantic roles & 50–950 ramp
primary
#985BBA
secondary
#B3CDA4
accent
#D15783
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82