#984BCD#984BCD
#984BCD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.8% C 0.198 H 308.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #984BCD |
|---|---|
| RGB | rgb(152, 75, 205) |
| HSL | hsl(276, 57%, 55%) |
| HSV | hsv(276, 63%, 80%) |
| CMYK | cmyk(25.9%, 63.4%, 0%, 19.6%) |
| CIE-LAB | lab(47.13, 54.47, -54.64) |
| CIE-LCH | lch(47.13, 77.15, 314.91°) |
| OKLab | oklab(56.78% 0.1234 -0.1543) |
| OKLCH | oklch(56.78% 0.198 308.7) |
| XYZ | xyz(26.4822, 16.1158, 59.4613) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.55
Lightish Purple
#A552E6
ΔE00 4.85
Purply
#983FB2
ΔE00 5.27
Purpley
#8756E4
ΔE00 5.69
Amethyst
#9B5FC0
ΔE00 5.69
Deep Lavender
#8D5EB7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984BCD #80CD4B
analogous
#574BCD #984BCD #CD4BC1
triadic
#984BCD #CD984B #4BCD98
tetradic
#984BCD #CD574B #80CD4B #4BC1CD
square
#984BCD #CD574B #80CD4B #4BC1CD
split-complementary
#984BCD #C1CD4B #4BCD57
monochromatic
#57227B #7930AB #984BCD #B37BDA #CFABE8
Accessibility & contrast
On white
4.97
#984BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#984BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984BCD
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984BCD | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#3671CA
Tritanopia (blue-blind)
#906585
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #984bcd; /* rgb */ color: rgb(152, 75, 205); /* oklch */ color: oklch(56.8% 0.198 308.7);
Tailwind
colors: {
custom: {
50: '#ba82dd',
500: '#984bcd',
950: '#000000',
},
}SCSS
$custom: #984bcd; $custom-light: #ba82dd; $custom-dark: #000000;
JSON
{
"hex": "#984bcd",
"rgb": {
"r": 152,
"g": 75,
"b": 205
},
"hsl": {
"h": 275.538,
"s": 56.522,
"l": 54.902
},
"oklch": {
"l": 0.56779,
"c": 0.1976,
"h": 308.7
},
"luminance": 0.16115
}Semantic roles & 50–950 ramp
primary
#984BCD
secondary
#B5D59F
accent
#E04886
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83