#984CC8#984CC8
#984CC8 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.6% C 0.191 H 309.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #984CC8 |
|---|---|
| RGB | rgb(152, 76, 200) |
| HSL | hsl(277, 53%, 54%) |
| HSV | hsv(277, 62%, 78%) |
| CMYK | cmyk(24%, 62%, 0%, 21.6%) |
| CIE-LAB | lab(46.99, 52.87, -51.97) |
| CIE-LCH | lch(46.99, 74.13, 315.49°) |
| OKLab | oklab(56.58% 0.1224 -0.1465) |
| OKLCH | oklch(56.58% 0.191 309.9) |
| XYZ | xyz(25.9567, 16.0149, 56.3562) |
| Luminance | 0.1601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.71
Darkorchid
#9932CC
ΔE00 4.74
Amethyst
#9B5FC0
ΔE00 5.24
Lightish Purple
#A552E6
ΔE00 5.34
Deep Lavender
#8D5EB7
ΔE00 5.49
Purpley
#8756E4
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984CC8 #7CC84C
analogous
#5A4CC8 #984CC8 #C84CBA
triadic
#984CC8 #C8984C #4CC898
tetradic
#984CC8 #C85A4C #7CC84C #4CBAC8
square
#984CC8 #C85A4C #7CC84C #4CBAC8
split-complementary
#984CC8 #BAC84C #4CC85A
monochromatic
#562475 #7832A4 #984CC8 #B37BD6 #CEAAE5
Accessibility & contrast
On white
5.00
#984CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#984CC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984CC8
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984CC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984CC8 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#116CCC
Deuteranopia (green-blind)
#3C71C5
Tritanopia (blue-blind)
#926483
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #984cc8; /* rgb */ color: rgb(152, 76, 200); /* oklch */ color: oklch(56.6% 0.191 309.9);
Tailwind
colors: {
custom: {
50: '#ba82d9',
500: '#984cc8',
950: '#000000',
},
}SCSS
$custom: #984cc8; $custom-light: #ba82d9; $custom-dark: #000000;
JSON
{
"hex": "#984cc8",
"rgb": {
"r": 152,
"g": 76,
"b": 200
},
"hsl": {
"h": 276.774,
"s": 52.991,
"l": 54.118
},
"oklch": {
"l": 0.56584,
"c": 0.19092,
"h": 309.9
},
"luminance": 0.16014
}Semantic roles & 50–950 ramp
primary
#984CC8
secondary
#B2D29E
accent
#DC4B84
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83