#984DC7#984DC7
#984DC7 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.188 H 310.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #984DC7 |
|---|---|
| RGB | rgb(152, 77, 199) |
| HSL | hsl(277, 52%, 54%) |
| HSV | hsv(277, 61%, 78%) |
| CMYK | cmyk(23.6%, 61.3%, 0%, 22%) |
| CIE-LAB | lab(47.11, 52.15, -51.20) |
| CIE-LCH | lch(47.11, 73.08, 315.53°) |
| OKLab | oklab(56.65% 0.1213 -0.1442) |
| OKLCH | oklch(56.65% 0.188 310.1) |
| XYZ | xyz(25.9096, 16.1072, 55.7659) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.73
Darkorchid
#9932CC
ΔE00 4.98
Amethyst
#9B5FC0
ΔE00 4.98
Deep Lavender
#8D5EB7
ΔE00 5.25
Lightish Purple
#A552E6
ΔE00 5.37
Purpley
#8756E4
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984DC7 #7CC74D
analogous
#5B4DC7 #984DC7 #C74DB9
triadic
#984DC7 #C7984D #4DC798
tetradic
#984DC7 #C75B4D #7CC74D #4DB9C7
square
#984DC7 #C75B4D #7CC74D #4DB9C7
split-complementary
#984DC7 #B9C74D #4DC75B
monochromatic
#562575 #7833A3 #984DC7 #B37CD6 #CEAAE4
Accessibility & contrast
On white
4.97
#984DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#984DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984DC7
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984DC7 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#186CCB
Deuteranopia (green-blind)
#3F71C4
Tritanopia (blue-blind)
#926483
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #984dc7; /* rgb */ color: rgb(152, 77, 199); /* oklch */ color: oklch(56.7% 0.188 310.1);
Tailwind
colors: {
custom: {
50: '#ba83d9',
500: '#984dc7',
950: '#000000',
},
}SCSS
$custom: #984dc7; $custom-light: #ba83d9; $custom-dark: #000000;
JSON
{
"hex": "#984dc7",
"rgb": {
"r": 152,
"g": 77,
"b": 199
},
"hsl": {
"h": 276.885,
"s": 52.137,
"l": 54.118
},
"oklch": {
"l": 0.56652,
"c": 0.18842,
"h": 310.1
},
"luminance": 0.16107
}Semantic roles & 50–950 ramp
primary
#984DC7
secondary
#B2D29E
accent
#DC4C83
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83