#984DCD#984DCD
#984DCD is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.0% C 0.195 H 308.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #984DCD |
|---|---|
| RGB | rgb(152, 77, 205) |
| HSL | hsl(275, 56%, 55%) |
| HSV | hsv(275, 62%, 80%) |
| CMYK | cmyk(25.9%, 62.4%, 0%, 19.6%) |
| CIE-LAB | lab(47.48, 53.50, -54.06) |
| CIE-LCH | lch(47.48, 76.06, 314.70°) |
| OKLab | oklab(57.04% 0.1211 -0.1526) |
| OKLCH | oklch(57.04% 0.195 308.4) |
| XYZ | xyz(26.6200, 16.3913, 59.5073) |
| Luminance | 0.1639 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.61
Darkorchid
#9932CC
ΔE00 5.00
Amethyst
#9B5FC0
ΔE00 5.30
Purply
#983FB2
ΔE00 5.53
Purpley
#8756E4
ΔE00 5.53
Deep Lavender
#8D5EB7
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984DCD #82CD4D
analogous
#584DCD #984DCD #CD4DC2
triadic
#984DCD #CD984D #4DCD98
tetradic
#984DCD #CD584D #82CD4D #4DC2CD
square
#984DCD #CD584D #82CD4D #4DC2CD
split-complementary
#984DCD #C2CD4D #4DCD58
monochromatic
#57237D #7930AC #984DCD #B47DDA #CFADE8
Accessibility & contrast
On white
4.91
#984DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#984DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984DCD
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984DCD | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036ED1
Deuteranopia (green-blind)
#3872CA
Tritanopia (blue-blind)
#906786
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #984dcd; /* rgb */ color: rgb(152, 77, 205); /* oklch */ color: oklch(57.0% 0.195 308.4);
Tailwind
colors: {
custom: {
50: '#ba83dd',
500: '#984dcd',
950: '#000000',
},
}SCSS
$custom: #984dcd; $custom-light: #ba83dd; $custom-dark: #000000;
JSON
{
"hex": "#984dcd",
"rgb": {
"r": 152,
"g": 77,
"b": 205
},
"hsl": {
"h": 275.156,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.57038,
"c": 0.19482,
"h": 308.4
},
"luminance": 0.16391
}Semantic roles & 50–950 ramp
primary
#984DCD
secondary
#B6D6A0
accent
#DF4887
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83