#984BCC#984BCC
#984BCC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.197 H 308.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #984BCC |
|---|---|
| RGB | rgb(152, 75, 204) |
| HSL | hsl(276, 56%, 55%) |
| HSV | hsv(276, 63%, 80%) |
| CMYK | cmyk(25.5%, 63.2%, 0%, 20%) |
| CIE-LAB | lab(47.06, 54.25, -54.16) |
| CIE-LCH | lch(47.06, 76.66, 315.05°) |
| OKLab | oklab(56.71% 0.1235 -0.1529) |
| OKLCH | oklch(56.71% 0.197 308.9) |
| XYZ | xyz(26.3619, 16.0676, 58.8277) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.54
Lightish Purple
#A552E6
ΔE00 4.97
Purply
#983FB2
ΔE00 5.13
Amethyst
#9B5FC0
ΔE00 5.64
Purpley
#8756E4
ΔE00 5.82
Deep Lavender
#8D5EB7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984BCC #7FCC4B
analogous
#584BCC #984BCC #CC4BBF
triadic
#984BCC #CC984B #4BCC98
tetradic
#984BCC #CC584B #7FCC4B #4BBFCC
square
#984BCC #CC584B #7FCC4B #4BBFCC
split-complementary
#984BCC #BFCC4B #4BCC58
monochromatic
#57237A #7930AA #984BCC #B37BDA #CFAAE7
Accessibility & contrast
On white
4.98
#984BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#984BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984BCC
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984BCC | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#3771C9
Tritanopia (blue-blind)
#906585
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #984bcc; /* rgb */ color: rgb(152, 75, 204); /* oklch */ color: oklch(56.7% 0.197 308.9);
Tailwind
colors: {
custom: {
50: '#ba82dc',
500: '#984bcc',
950: '#000000',
},
}SCSS
$custom: #984bcc; $custom-light: #ba82dc; $custom-dark: #000000;
JSON
{
"hex": "#984bcc",
"rgb": {
"r": 152,
"g": 75,
"b": 204
},
"hsl": {
"h": 275.814,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.56714,
"c": 0.19655,
"h": 308.9
},
"luminance": 0.16067
}Semantic roles & 50–950 ramp
primary
#984BCC
secondary
#B4D59E
accent
#DF4985
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83