#9A219A#9A219A
#9A219A is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.203 H 328.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9A219A |
|---|---|
| RGB | rgb(154, 33, 154) |
| HSL | hsl(300, 65%, 37%) |
| HSV | hsv(300, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 0%, 39.6%) |
| CIE-LAB | lab(38.36, 61.60, -38.57) |
| CIE-LCH | lch(38.36, 72.67, 327.95°) |
| OKLab | oklab(49.55% 0.172 -0.107) |
| OKLCH | oklch(49.55% 0.203 328.1) |
| XYZ | xyz(19.7028, 10.2923, 31.5145) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.88
Warm Purple
#952E8F
ΔE00 2.57
Darkmagenta
#8B008B
ΔE00 4.78
Barney
#AC1DB8
ΔE00 5.25
Medium Purple
#9E43A2
ΔE00 5.92
Purple (survey)
#7E1E9C
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A219A #219A21
analogous
#5E219A #9A219A #9A215E
triadic
#9A219A #9A9A21 #219A9A
tetradic
#9A219A #9A5E21 #219A21 #215E9A
square
#9A219A #9A5E21 #219A21 #215E9A
split-complementary
#9A219A #5E9A21 #219A5E
monochromatic
#350B35 #681668 #9A219A #CC2CCC #DC5ADC
Accessibility & contrast
On white
6.87
#9A219A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#9A219A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A219A
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A219A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A219A | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#446097
Tritanopia (blue-blind)
#9F365D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9a219a; /* rgb */ color: rgb(154, 33, 154); /* oklch */ color: oklch(49.6% 0.203 328.1);
Tailwind
colors: {
custom: {
50: '#bc6cb8',
500: '#9a219a',
950: '#000000',
},
}SCSS
$custom: #9a219a; $custom-light: #bc6cb8; $custom-dark: #000000;
JSON
{
"hex": "#9a219a",
"rgb": {
"r": 154,
"g": 33,
"b": 154
},
"hsl": {
"h": 300,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.49554,
"c": 0.20251,
"h": 328.1
},
"luminance": 0.10291
}Semantic roles & 50–950 ramp
primary
#9A219A
secondary
#57C057
accent
#E84040
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80