#984CCB#984CCB
#984CCB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.194 H 309.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #984CCB |
|---|---|
| RGB | rgb(152, 76, 203) |
| HSL | hsl(276, 55%, 55%) |
| HSV | hsv(276, 63%, 80%) |
| CMYK | cmyk(25.1%, 62.6%, 0%, 20.4%) |
| CIE-LAB | lab(47.18, 53.54, -53.40) |
| CIE-LCH | lch(47.18, 75.62, 315.07°) |
| OKLab | oklab(56.78% 0.1223 -0.1507) |
| OKLCH | oklch(56.78% 0.194 309.1) |
| XYZ | xyz(26.3107, 16.1565, 58.2208) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.74
Lightish Purple
#A552E6
ΔE00 4.97
Purply
#983FB2
ΔE00 5.12
Amethyst
#9B5FC0
ΔE00 5.38
Deep Lavender
#8D5EB7
ΔE00 5.69
Purpley
#8756E4
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984CCB #7FCB4C
analogous
#594CCB #984CCB #CB4CBE
triadic
#984CCB #CB984C #4CCB98
tetradic
#984CCB #CB594C #7FCB4C #4CBECB
square
#984CCB #CB594C #7FCB4C #4CBECB
split-complementary
#984CCB #BECB4C #4CCB59
monochromatic
#572379 #7931A9 #984CCB #B37BD9 #CFABE7
Accessibility & contrast
On white
4.96
#984CCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#984CCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984CCB
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984CCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984CCB | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#056DCF
Deuteranopia (green-blind)
#3971C8
Tritanopia (blue-blind)
#916585
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #984ccb; /* rgb */ color: rgb(152, 76, 203); /* oklch */ color: oklch(56.8% 0.194 309.1);
Tailwind
colors: {
custom: {
50: '#ba82db',
500: '#984ccb',
950: '#000000',
},
}SCSS
$custom: #984ccb; $custom-light: #ba82db; $custom-dark: #000000;
JSON
{
"hex": "#984ccb",
"rgb": {
"r": 152,
"g": 76,
"b": 203
},
"hsl": {
"h": 275.906,
"s": 54.978,
"l": 54.706
},
"oklch": {
"l": 0.56778,
"c": 0.1941,
"h": 309.1
},
"luminance": 0.16156
}Semantic roles & 50–950 ramp
primary
#984CCB
secondary
#B4D49F
accent
#DE4985
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83