#984DC9#984DC9
#984DC9 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.191 H 309.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #984DC9 |
|---|---|
| RGB | rgb(152, 77, 201) |
| HSL | hsl(276, 53%, 55%) |
| HSV | hsv(276, 62%, 79%) |
| CMYK | cmyk(24.4%, 61.7%, 0%, 21.2%) |
| CIE-LAB | lab(47.24, 52.60, -52.16) |
| CIE-LCH | lch(47.24, 74.07, 315.24°) |
| OKLab | oklab(56.78% 0.1212 -0.147) |
| OKLCH | oklch(56.78% 0.191 309.5) |
| XYZ | xyz(26.1433, 16.2007, 56.9968) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.96
Purply
#983FB2
ΔE00 4.99
Amethyst
#9B5FC0
ΔE00 5.07
Lightish Purple
#A552E6
ΔE00 5.11
Deep Lavender
#8D5EB7
ΔE00 5.38
Purpley
#8756E4
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984DC9 #7EC94D
analogous
#5A4DC9 #984DC9 #C94DBC
triadic
#984DC9 #C9984D #4DC998
tetradic
#984DC9 #C95A4D #7EC94D #4DBCC9
square
#984DC9 #C95A4D #7EC94D #4DBCC9
split-complementary
#984DC9 #BCC94D #4DC95A
monochromatic
#572477 #7932A6 #984DC9 #B37CD7 #CEABE5
Accessibility & contrast
On white
4.95
#984DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#984DC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984DC9
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984DC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984DC9 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#126DCD
Deuteranopia (green-blind)
#3D71C6
Tritanopia (blue-blind)
#916584
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #984dc9; /* rgb */ color: rgb(152, 77, 201); /* oklch */ color: oklch(56.8% 0.191 309.5);
Tailwind
colors: {
custom: {
50: '#ba83da',
500: '#984dc9',
950: '#000000',
},
}SCSS
$custom: #984dc9; $custom-light: #ba83da; $custom-dark: #000000;
JSON
{
"hex": "#984dc9",
"rgb": {
"r": 152,
"g": 77,
"b": 201
},
"hsl": {
"h": 276.29,
"s": 53.448,
"l": 54.51
},
"oklch": {
"l": 0.5678,
"c": 0.19056,
"h": 309.5
},
"luminance": 0.162
}Semantic roles & 50–950 ramp
primary
#984DC9
secondary
#B3D39F
accent
#DD4B85
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83