#9A2FAC#9A2FAC
#9A2FAC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.203 H 321.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2FAC |
|---|---|
| RGB | rgb(154, 47, 172) |
| HSL | hsl(291, 57%, 43%) |
| HSV | hsv(291, 73%, 67%) |
| CMYK | cmyk(10.5%, 72.7%, 0%, 32.5%) |
| CIE-LAB | lab(41.03, 60.19, -45.11) |
| CIE-LCH | lch(41.03, 75.22, 323.15°) |
| OKLab | oklab(51.8% 0.1585 -0.1262) |
| OKLCH | oklch(51.8% 0.203 321.5) |
| XYZ | xyz(21.7885, 11.8828, 40.1677) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.89
Barney
#AC1DB8
ΔE00 3.21
Medium Purple
#9E43A2
ΔE00 4.69
Barney Purple
#A00498
ΔE00 5.08
Warm Purple
#952E8F
ΔE00 5.16
Darkorchid
#9932CC
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2FAC #41AC2F
analogous
#5B2FAC #9A2FAC #AC2F7F
triadic
#9A2FAC #AC9A2F #2FAC9A
tetradic
#9A2FAC #AC5B2F #41AC2F #2F7FAC
square
#9A2FAC #AC5B2F #41AC2F #2F7FAC
split-complementary
#9A2FAC #7FAC2F #2FAC5B
monochromatic
#44154C #6F227C #9A2FAC #BB4BCE #CD7BDB
Accessibility & contrast
On white
6.22
#9A2FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#9A2FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2FAC
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2FAC | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#3F65A9
Tritanopia (blue-blind)
#9B466B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9a2fac; /* rgb */ color: rgb(154, 47, 172); /* oklch */ color: oklch(51.8% 0.203 321.5);
Tailwind
colors: {
custom: {
50: '#bb72c5',
500: '#9a2fac',
950: '#000000',
},
}SCSS
$custom: #9a2fac; $custom-light: #bb72c5; $custom-dark: #000000;
JSON
{
"hex": "#9a2fac",
"rgb": {
"r": 154,
"g": 47,
"b": 172
},
"hsl": {
"h": 291.36,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.51801,
"c": 0.20261,
"h": 321.5
},
"luminance": 0.11882
}Semantic roles & 50–950 ramp
primary
#9A2FAC
secondary
#7FC374
accent
#E0475D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82