#984AC8#984AC8
#984AC8 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.194 H 310.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #984AC8 |
|---|---|
| RGB | rgb(152, 74, 200) |
| HSL | hsl(277, 53%, 54%) |
| HSV | hsv(277, 63%, 78%) |
| CMYK | cmyk(24%, 63%, 0%, 21.6%) |
| CIE-LAB | lab(46.64, 53.84, -52.54) |
| CIE-LCH | lch(46.64, 75.23, 315.70°) |
| OKLab | oklab(56.33% 0.1248 -0.1482) |
| OKLCH | oklch(56.33% 0.194 310.1) |
| XYZ | xyz(25.8210, 15.7436, 56.3110) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.30
Purply
#983FB2
ΔE00 4.45
Lightish Purple
#A552E6
ΔE00 5.57
Amethyst
#9B5FC0
ΔE00 5.66
Deep Lavender
#8D5EB7
ΔE00 5.84
Purpley
#8756E4
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984AC8 #7AC84A
analogous
#594AC8 #984AC8 #C84AB9
triadic
#984AC8 #C8984A #4AC898
tetradic
#984AC8 #C8594A #7AC84A #4AB9C8
square
#984AC8 #C8594A #7AC84A #4AB9C8
split-complementary
#984AC8 #B9C84A #4AC859
monochromatic
#552374 #7832A3 #984AC8 #B379D6 #CDA8E5
Accessibility & contrast
On white
5.06
#984AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#984AC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984AC8
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984AC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984AC8 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#056BCC
Deuteranopia (green-blind)
#3A70C5
Tritanopia (blue-blind)
#926382
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #984ac8; /* rgb */ color: rgb(152, 74, 200); /* oklch */ color: oklch(56.3% 0.194 310.1);
Tailwind
colors: {
custom: {
50: '#ba81d9',
500: '#984ac8',
950: '#000000',
},
}SCSS
$custom: #984ac8; $custom-light: #ba81d9; $custom-dark: #000000;
JSON
{
"hex": "#984ac8",
"rgb": {
"r": 152,
"g": 74,
"b": 200
},
"hsl": {
"h": 277.143,
"s": 53.39,
"l": 53.725
},
"oklch": {
"l": 0.56325,
"c": 0.19374,
"h": 310.1
},
"luminance": 0.15743
}Semantic roles & 50–950 ramp
primary
#984AC8
secondary
#B0D29C
accent
#DD4B83
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83