#984CD3#984CD3
#984CD3 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.203 H 307.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #984CD3 |
|---|---|
| RGB | rgb(152, 76, 211) |
| HSL | hsl(274, 61%, 56%) |
| HSV | hsv(274, 64%, 83%) |
| CMYK | cmyk(28%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(47.69, 55.35, -57.18) |
| CIE-LCH | lch(47.69, 79.58, 314.07°) |
| OKLab | oklab(57.3% 0.1219 -0.1618) |
| OKLCH | oklch(57.3% 0.203 307) |
| XYZ | xyz(27.2887, 16.5477, 63.3718) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.08
Purpley
#8756E4
ΔE00 4.87
Darkorchid
#9932CC
ΔE00 5.00
Amethyst
#9B5FC0
ΔE00 5.91
Purply
#983FB2
ΔE00 6.24
Deep Lavender
#8D5EB7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984CD3 #87D34C
analogous
#554CD3 #984CD3 #D34CCA
triadic
#984CD3 #D3984C #4CD398
tetradic
#984CD3 #D3554C #87D34C #4CCAD3
square
#984CD3 #D3554C #87D34C #4CCAD3
split-complementary
#984CD3 #CAD34C #4CD355
monochromatic
#592084 #7A2DB5 #984CD3 #B47DDF #D1AEEB
Accessibility & contrast
On white
4.87
#984CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#984CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984CD3
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984CD3 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#3072D0
Tritanopia (blue-blind)
#8E6889
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #984cd3; /* rgb */ color: rgb(152, 76, 211); /* oklch */ color: oklch(57.3% 0.203 307.0);
Tailwind
colors: {
custom: {
50: '#ba83e1',
500: '#984cd3',
950: '#000000',
},
}SCSS
$custom: #984cd3; $custom-light: #ba83e1; $custom-dark: #000000;
JSON
{
"hex": "#984cd3",
"rgb": {
"r": 152,
"g": 76,
"b": 211
},
"hsl": {
"h": 273.778,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.57305,
"c": 0.20258,
"h": 307
},
"luminance": 0.16547
}Semantic roles & 50–950 ramp
primary
#984CD3
secondary
#BAD9A2
accent
#E4448A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83