#984AC7#984AC7
#984AC7 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.193 H 310.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #984AC7 |
|---|---|
| RGB | rgb(152, 74, 199) |
| HSL | hsl(277, 53%, 54%) |
| HSV | hsv(277, 63%, 78%) |
| CMYK | cmyk(23.6%, 62.8%, 0%, 22%) |
| CIE-LAB | lab(46.57, 53.62, -52.06) |
| CIE-LCH | lch(46.57, 74.74, 315.84°) |
| OKLab | oklab(56.26% 0.1249 -0.1468) |
| OKLCH | oklch(56.26% 0.193 310.4) |
| XYZ | xyz(25.7045, 15.6970, 55.6975) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.31
Darkorchid
#9932CC
ΔE00 4.31
Amethyst
#9B5FC0
ΔE00 5.62
Lightish Purple
#A552E6
ΔE00 5.69
Deep Lavender
#8D5EB7
ΔE00 5.79
Purpley
#8756E4
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984AC7 #79C74A
analogous
#594AC7 #984AC7 #C74AB7
triadic
#984AC7 #C7984A #4AC798
tetradic
#984AC7 #C7594A #79C74A #4AB7C7
square
#984AC7 #C7594A #79C74A #4AB7C7
split-complementary
#984AC7 #B7C74A #4AC759
monochromatic
#552473 #7832A2 #984AC7 #B379D5 #CDA7E4
Accessibility & contrast
On white
5.07
#984AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#984AC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984AC7
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984AC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984AC7 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A6BCB
Deuteranopia (green-blind)
#3B70C4
Tritanopia (blue-blind)
#926282
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #984ac7; /* rgb */ color: rgb(152, 74, 199); /* oklch */ color: oklch(56.3% 0.193 310.4);
Tailwind
colors: {
custom: {
50: '#ba81d9',
500: '#984ac7',
950: '#000000',
},
}SCSS
$custom: #984ac7; $custom-light: #ba81d9; $custom-dark: #000000;
JSON
{
"hex": "#984ac7",
"rgb": {
"r": 152,
"g": 74,
"b": 199
},
"hsl": {
"h": 277.44,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.56261,
"c": 0.19269,
"h": 310.4
},
"luminance": 0.15696
}Semantic roles & 50–950 ramp
primary
#984AC7
secondary
#B0D19C
accent
#DC4C82
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83