#9A2EAF#9A2EAF
#9A2EAF is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.206 H 320.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2EAF |
|---|---|
| RGB | rgb(154, 46, 175) |
| HSL | hsl(290, 58%, 43%) |
| HSV | hsv(290, 74%, 69%) |
| CMYK | cmyk(12%, 73.7%, 0%, 31.4%) |
| CIE-LAB | lab(41.09, 61.11, -46.80) |
| CIE-LCH | lch(41.09, 76.97, 322.55°) |
| OKLab | oklab(51.9% 0.1593 -0.1311) |
| OKLCH | oklch(51.9% 0.206 320.5) |
| XYZ | xyz(22.0404, 11.9203, 41.6890) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.87
Barney
#AC1DB8
ΔE00 3.08
Darkorchid
#9932CC
ΔE00 4.74
Medium Purple
#9E43A2
ΔE00 5.09
Barney Purple
#A00498
ΔE00 5.39
Warm Purple
#952E8F
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2EAF #43AF2E
analogous
#5A2EAF #9A2EAF #AF2E83
triadic
#9A2EAF #AF9A2E #2EAF9A
tetradic
#9A2EAF #AF5A2E #43AF2E #2E83AF
square
#9A2EAF #AF5A2E #43AF2E #2E83AF
split-complementary
#9A2EAF #83AF2E #2EAF5A
monochromatic
#45154E #6F217F #9A2EAF #BA4BD0 #CC7BDC
Accessibility & contrast
On white
6.21
#9A2EAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#9A2EAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2EAF
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2EAF | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3C65AC
Tritanopia (blue-blind)
#9B476C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9a2eaf; /* rgb */ color: rgb(154, 46, 175); /* oklch */ color: oklch(51.9% 0.206 320.5);
Tailwind
colors: {
custom: {
50: '#bc72c7',
500: '#9a2eaf',
950: '#000000',
},
}SCSS
$custom: #9a2eaf; $custom-light: #bc72c7; $custom-dark: #000000;
JSON
{
"hex": "#9a2eaf",
"rgb": {
"r": 154,
"g": 46,
"b": 175
},
"hsl": {
"h": 290.233,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51903,
"c": 0.20629,
"h": 320.5
},
"luminance": 0.11919
}Semantic roles & 50–950 ramp
primary
#9A2EAF
secondary
#81C574
accent
#E24660
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82