#9B2AAC#9B2AAC
#9B2AAC is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.208 H 322.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2AAC |
|---|---|
| RGB | rgb(155, 42, 172) |
| HSL | hsl(292, 61%, 42%) |
| HSV | hsv(292, 76%, 67%) |
| CMYK | cmyk(9.9%, 75.6%, 0%, 32.5%) |
| CIE-LAB | lab(40.58, 62.14, -45.82) |
| CIE-LCH | lch(40.58, 77.21, 323.59°) |
| OKLab | oklab(51.51% 0.1644 -0.1282) |
| OKLCH | oklch(51.51% 0.208 322.1) |
| XYZ | xyz(21.7911, 11.6043, 40.1138) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.05
Purply
#983FB2
ΔE00 3.51
Barney Purple
#A00498
ΔE00 4.62
Warm Purple
#952E8F
ΔE00 5.13
Medium Purple
#9E43A2
ΔE00 5.19
Darkorchid
#9932CC
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2AAC #3BAC2A
analogous
#5A2AAC #9B2AAC #AC2A7C
triadic
#9B2AAC #AC9B2A #2AAC9B
tetradic
#9B2AAC #AC5A2A #3BAC2A #2A7CAC
square
#9B2AAC #AC5A2A #3BAC2A #2A7CAC
split-complementary
#9B2AAC #7CAC2A #2AAC5A
monochromatic
#42124A #6F1E7B #9B2AAC #BE42D1 #CF73DD
Accessibility & contrast
On white
6.32
#9B2AAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#9B2AAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2AAC
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2AAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2AAC | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#3D64A9
Tritanopia (blue-blind)
#9D436A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9b2aac; /* rgb */ color: rgb(155, 42, 172); /* oklch */ color: oklch(51.5% 0.208 322.1);
Tailwind
colors: {
custom: {
50: '#bc70c5',
500: '#9b2aac',
950: '#000000',
},
}SCSS
$custom: #9b2aac; $custom-light: #bc70c5; $custom-dark: #000000;
JSON
{
"hex": "#9b2aac",
"rgb": {
"r": 155,
"g": 42,
"b": 172
},
"hsl": {
"h": 292.154,
"s": 60.748,
"l": 41.961
},
"oklch": {
"l": 0.51513,
"c": 0.20845,
"h": 322.1
},
"luminance": 0.11603
}Semantic roles & 50–950 ramp
primary
#9B2AAC
secondary
#79C46D
accent
#E44459
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82