#984AC5#984AC5
#984AC5 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.1% C 0.191 H 311.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #984AC5 |
|---|---|
| RGB | rgb(152, 74, 197) |
| HSL | hsl(278, 51%, 53%) |
| HSV | hsv(278, 62%, 77%) |
| CMYK | cmyk(22.8%, 62.4%, 0%, 22.7%) |
| CIE-LAB | lab(46.45, 53.18, -51.10) |
| CIE-LCH | lch(46.45, 73.76, 316.14°) |
| OKLab | oklab(56.13% 0.1249 -0.1439) |
| OKLCH | oklch(56.13% 0.191 311) |
| XYZ | xyz(25.4738, 15.6047, 54.4826) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.03
Darkorchid
#9932CC
ΔE00 4.35
Amethyst
#9B5FC0
ΔE00 5.56
Deep Lavender
#8D5EB7
ΔE00 5.69
Lightish Purple
#A552E6
ΔE00 5.95
Purpley
#8756E4
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984AC5 #77C54A
analogous
#5A4AC5 #984AC5 #C54AB4
triadic
#984AC5 #C5984A #4AC598
tetradic
#984AC5 #C55A4A #77C54A #4AB4C5
square
#984AC5 #C55A4A #77C54A #4AB4C5
split-complementary
#984AC5 #B4C54A #4AC55A
monochromatic
#552471 #77339F #984AC5 #B278D4 #CDA7E3
Accessibility & contrast
On white
5.10
#984AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#984AC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984AC5
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984AC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984AC5 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#116AC9
Deuteranopia (green-blind)
#3D6FC2
Tritanopia (blue-blind)
#926281
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #984ac5; /* rgb */ color: rgb(152, 74, 197); /* oklch */ color: oklch(56.1% 0.191 311.0);
Tailwind
colors: {
custom: {
50: '#ba81d7',
500: '#984ac5',
950: '#000000',
},
}SCSS
$custom: #984ac5; $custom-light: #ba81d7; $custom-dark: #000000;
JSON
{
"hex": "#984ac5",
"rgb": {
"r": 152,
"g": 74,
"b": 197
},
"hsl": {
"h": 278.049,
"s": 51.464,
"l": 53.137
},
"oklch": {
"l": 0.56132,
"c": 0.19059,
"h": 311
},
"luminance": 0.15604
}Semantic roles & 50–950 ramp
primary
#984AC5
secondary
#AED09B
accent
#DB4D81
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83