#984BCA#984BCA
#984BCA is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.6% C 0.194 H 309.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #984BCA |
|---|---|
| RGB | rgb(152, 75, 202) |
| HSL | hsl(276, 55%, 54%) |
| HSV | hsv(276, 63%, 79%) |
| CMYK | cmyk(24.8%, 62.9%, 0%, 20.8%) |
| CIE-LAB | lab(46.94, 53.80, -53.21) |
| CIE-LCH | lch(46.94, 75.67, 315.32°) |
| OKLab | oklab(56.58% 0.1236 -0.1501) |
| OKLCH | oklch(56.58% 0.194 309.5) |
| XYZ | xyz(26.1236, 15.9723, 57.5724) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.51
Purply
#983FB2
ΔE00 4.85
Lightish Purple
#A552E6
ΔE00 5.20
Amethyst
#9B5FC0
ΔE00 5.53
Deep Lavender
#8D5EB7
ΔE00 5.79
Purpley
#8756E4
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984BCA #7DCA4B
analogous
#594BCA #984BCA #CA4BBC
triadic
#984BCA #CA984B #4BCA98
tetradic
#984BCA #CA594B #7DCA4B #4BBCCA
square
#984BCA #CA594B #7DCA4B #4BBCCA
split-complementary
#984BCA #BCCA4B #4BCA59
monochromatic
#562377 #7831A7 #984BCA #B37AD8 #CEAAE6
Accessibility & contrast
On white
5.01
#984BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#984BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984BCA
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984BCA | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036CCE
Deuteranopia (green-blind)
#3970C7
Tritanopia (blue-blind)
#916484
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #984bca; /* rgb */ color: rgb(152, 75, 202); /* oklch */ color: oklch(56.6% 0.194 309.5);
Tailwind
colors: {
custom: {
50: '#ba82db',
500: '#984bca',
950: '#000000',
},
}SCSS
$custom: #984bca; $custom-light: #ba82db; $custom-dark: #000000;
JSON
{
"hex": "#984bca",
"rgb": {
"r": 152,
"g": 75,
"b": 202
},
"hsl": {
"h": 276.378,
"s": 54.506,
"l": 54.314
},
"oklch": {
"l": 0.56583,
"c": 0.19444,
"h": 309.5
},
"luminance": 0.15972
}Semantic roles & 50–950 ramp
primary
#984BCA
secondary
#B3D39D
accent
#DE4A84
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83