#984BCE#984BCE
#984BCE is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.199 H 308.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #984BCE |
|---|---|
| RGB | rgb(152, 75, 206) |
| HSL | hsl(275, 57%, 55%) |
| HSV | hsv(275, 64%, 81%) |
| CMYK | cmyk(26.2%, 63.6%, 0%, 19.2%) |
| CIE-LAB | lab(47.19, 54.70, -55.11) |
| CIE-LCH | lch(47.19, 77.65, 314.78°) |
| OKLab | oklab(56.85% 0.1234 -0.1557) |
| OKLCH | oklch(56.85% 0.199 308.4) |
| XYZ | xyz(26.6033, 16.1642, 60.0991) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.58
Lightish Purple
#A552E6
ΔE00 4.74
Purply
#983FB2
ΔE00 5.41
Purpley
#8756E4
ΔE00 5.56
Amethyst
#9B5FC0
ΔE00 5.75
Deep Lavender
#8D5EB7
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984BCE #81CE4B
analogous
#564BCE #984BCE #CE4BC3
triadic
#984BCE #CE984B #4BCE98
tetradic
#984BCE #CE564B #81CE4B #4BC3CE
square
#984BCE #CE564B #81CE4B #4BC3CE
split-complementary
#984BCE #C3CE4B #4BCE56
monochromatic
#57227D #792FAD #984BCE #B47BDB #CFABE8
Accessibility & contrast
On white
4.96
#984BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#984BCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984BCE
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984BCE | 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)
#006DD2
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#906686
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #984bce; /* rgb */ color: rgb(152, 75, 206); /* oklch */ color: oklch(56.8% 0.199 308.4);
Tailwind
colors: {
custom: {
50: '#ba82de',
500: '#984bce',
950: '#000000',
},
}SCSS
$custom: #984bce; $custom-light: #ba82de; $custom-dark: #000000;
JSON
{
"hex": "#984bce",
"rgb": {
"r": 152,
"g": 75,
"b": 206
},
"hsl": {
"h": 275.267,
"s": 57.205,
"l": 55.098
},
"oklch": {
"l": 0.56845,
"c": 0.19866,
"h": 308.4
},
"luminance": 0.16164
}Semantic roles & 50–950 ramp
primary
#984BCE
secondary
#B6D69F
accent
#E04786
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83