#9A2CA3#9A2CA3
#9A2CA3 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 51.0% C 0.198 H 324.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2CA3 |
|---|---|
| RGB | rgb(154, 44, 163) |
| HSL | hsl(295, 57%, 41%) |
| HSV | hsv(295, 73%, 64%) |
| CMYK | cmyk(5.5%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(40.11, 59.64, -41.21) |
| CIE-LCH | lch(40.11, 72.49, 325.36°) |
| OKLab | oklab(50.97% 0.1619 -0.1147) |
| OKLCH | oklch(50.97% 0.198 324.7) |
| XYZ | xyz(20.8374, 11.3171, 35.7301) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.60
Barney Purple
#A00498
ΔE00 3.72
Barney
#AC1DB8
ΔE00 3.94
Purply
#983FB2
ΔE00 4.13
Medium Purple
#9E43A2
ΔE00 4.56
Ugly Purple
#A442A0
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2CA3 #35A32C
analogous
#5E2CA3 #9A2CA3 #A32C70
triadic
#9A2CA3 #A39A2C #2CA39A
tetradic
#9A2CA3 #A35E2C #35A32C #2C70A3
square
#9A2CA3 #A35E2C #35A32C #2C70A3
split-complementary
#9A2CA3 #70A32C #2CA35E
monochromatic
#3F1243 #6C1F73 #9A2CA3 #C141CC #D171D9
Accessibility & contrast
On white
6.44
#9A2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#9A2CA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2CA3
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2CA3 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0256A6
Deuteranopia (green-blind)
#4363A0
Tritanopia (blue-blind)
#9D4165
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9a2ca3; /* rgb */ color: rgb(154, 44, 163); /* oklch */ color: oklch(51.0% 0.198 324.7);
Tailwind
colors: {
custom: {
50: '#bb70bf',
500: '#9a2ca3',
950: '#000000',
},
}SCSS
$custom: #9a2ca3; $custom-light: #bb70bf; $custom-dark: #000000;
JSON
{
"hex": "#9a2ca3",
"rgb": {
"r": 154,
"g": 44,
"b": 163
},
"hsl": {
"h": 295.462,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.5097,
"c": 0.19843,
"h": 324.7
},
"luminance": 0.11316
}Semantic roles & 50–950 ramp
primary
#9A2CA3
secondary
#71C06B
accent
#E14753
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81