#984CBA#984CBA
#984CBA is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.7% C 0.176 H 314.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #984CBA |
|---|---|
| RGB | rgb(152, 76, 186) |
| HSL | hsl(281, 44%, 51%) |
| HSV | hsv(281, 59%, 73%) |
| CMYK | cmyk(18.3%, 59.1%, 0%, 27.1%) |
| CIE-LAB | lab(46.16, 49.80, -45.17) |
| CIE-LCH | lch(46.16, 67.24, 317.79°) |
| OKLab | oklab(55.71% 0.1225 -0.1266) |
| OKLCH | oklch(55.71% 0.176 314) |
| XYZ | xyz(24.3948, 15.3902, 48.1304) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.12
Deep Lavender
#8D5EB7
ΔE00 5.05
Amethyst
#9B5FC0
ΔE00 5.11
Medium Purple
#9E43A2
ΔE00 5.25
Darkorchid
#9932CC
ΔE00 5.45
Ugly Purple
#A442A0
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984CBA #6EBA4C
analogous
#614CBA #984CBA #BA4CA5
triadic
#984CBA #BA984C #4CBA98
tetradic
#984CBA #BA614C #6EBA4C #4CA5BA
square
#984CBA #BA614C #6EBA4C #4CA5BA
split-complementary
#984CBA #A5BA4C #4CBA61
monochromatic
#522765 #753891 #984CBA #B178CB #CBA4DC
Accessibility & contrast
On white
5.15
#984CBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#984CBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984CBA
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984CBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984CBA | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A69BD
Deuteranopia (green-blind)
#486FB7
Tritanopia (blue-blind)
#955F7C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #984cba; /* rgb */ color: rgb(152, 76, 186); /* oklch */ color: oklch(55.7% 0.176 314.0);
Tailwind
colors: {
custom: {
50: '#b982cf',
500: '#984cba',
950: '#000000',
},
}SCSS
$custom: #984cba; $custom-light: #b982cf; $custom-dark: #000000;
JSON
{
"hex": "#984cba",
"rgb": {
"r": 152,
"g": 76,
"b": 186
},
"hsl": {
"h": 281.455,
"s": 44.355,
"l": 51.373
},
"oklch": {
"l": 0.55714,
"c": 0.17614,
"h": 314
},
"luminance": 0.15389
}Semantic roles & 50–950 ramp
primary
#984CBA
secondary
#A8C999
accent
#D4547B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82