#984CBB#984CBB
#984CBB is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.8% C 0.177 H 313.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #984CBB |
|---|---|
| RGB | rgb(152, 76, 187) |
| HSL | hsl(281, 45%, 52%) |
| HSV | hsv(281, 59%, 73%) |
| CMYK | cmyk(18.7%, 59.4%, 0%, 26.7%) |
| CIE-LAB | lab(46.22, 50.02, -45.66) |
| CIE-LCH | lch(46.22, 67.73, 317.61°) |
| OKLab | oklab(55.77% 0.1225 -0.128) |
| OKLCH | oklch(55.77% 0.177 313.7) |
| XYZ | xyz(24.5015, 15.4328, 48.6922) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.20
Deep Lavender
#8D5EB7
ΔE00 5.04
Amethyst
#9B5FC0
ΔE00 5.08
Darkorchid
#9932CC
ΔE00 5.36
Medium Purple
#9E43A2
ΔE00 5.42
Ugly Purple
#A442A0
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984CBB #6FBB4C
analogous
#614CBB #984CBB #BB4CA7
triadic
#984CBB #BB984C #4CBB98
tetradic
#984CBB #BB614C #6FBB4C #4CA7BB
square
#984CBB #BB614C #6FBB4C #4CA7BB
split-complementary
#984CBB #A7BB4C #4CBB61
monochromatic
#522766 #763892 #984CBB #B278CC #CBA5DD
Accessibility & contrast
On white
5.14
#984CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#984CBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984CBB
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984CBB | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2969BF
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#95607C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #984cbb; /* rgb */ color: rgb(152, 76, 187); /* oklch */ color: oklch(55.8% 0.177 313.7);
Tailwind
colors: {
custom: {
50: '#b982d0',
500: '#984cbb',
950: '#000000',
},
}SCSS
$custom: #984cbb; $custom-light: #b982d0; $custom-dark: #000000;
JSON
{
"hex": "#984cbb",
"rgb": {
"r": 152,
"g": 76,
"b": 187
},
"hsl": {
"h": 281.081,
"s": 44.939,
"l": 51.569
},
"oklch": {
"l": 0.55774,
"c": 0.17719,
"h": 313.7
},
"luminance": 0.15432
}Semantic roles & 50–950 ramp
primary
#984CBB
secondary
#A8CA99
accent
#D5537C
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82