#984AAF#984AAF
#984AAF is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.8% C 0.168 H 318.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #984AAF |
|---|---|
| RGB | rgb(152, 74, 175) |
| HSL | hsl(286, 41%, 49%) |
| HSV | hsv(286, 58%, 69%) |
| CMYK | cmyk(13.1%, 57.7%, 0%, 31.4%) |
| CIE-LAB | lab(45.18, 48.49, -40.30) |
| CIE-LCH | lch(45.18, 63.05, 320.27°) |
| OKLab | oklab(54.79% 0.1246 -0.1124) |
| OKLCH | oklch(54.79% 0.168 318) |
| XYZ | xyz(23.1345, 14.6690, 42.1619) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.47
Medium Purple
#9E43A2
ΔE00 3.31
Ugly Purple
#A442A0
ΔE00 4.48
Deep Lavender
#8D5EB7
ΔE00 5.88
Amethyst
#9B5FC0
ΔE00 6.17
Barney
#AC1DB8
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#984AAF #61AF4A
analogous
#664AAF #984AAF #AF4A94
triadic
#984AAF #AF984A #4AAF98
tetradic
#984AAF #AF664A #61AF4A #4A94AF
square
#984AAF #AF664A #61AF4A #4A94AF
split-complementary
#984AAF #94AF4A #4AAF66
monochromatic
#4D2659 #733884 #984AAF #B173C4 #C99ED6
Accessibility & contrast
On white
5.34
#984AAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#984AAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #984AAF
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##984AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##984AAF | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#4E6DAC
Tritanopia (blue-blind)
#985A75
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #984aaf; /* rgb */ color: rgb(152, 74, 175); /* oklch */ color: oklch(54.8% 0.168 318.0);
Tailwind
colors: {
custom: {
50: '#b980c7',
500: '#984aaf',
950: '#000000',
},
}SCSS
$custom: #984aaf; $custom-light: #b980c7; $custom-dark: #000000;
JSON
{
"hex": "#984aaf",
"rgb": {
"r": 152,
"g": 74,
"b": 175
},
"hsl": {
"h": 286.337,
"s": 40.562,
"l": 48.824
},
"oklch": {
"l": 0.54794,
"c": 0.16779,
"h": 318
},
"luminance": 0.14668
}Semantic roles & 50–950 ramp
primary
#984AAF
secondary
#9DC292
accent
#D05773
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82