#9A279B#9A279B
#9A279B is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.197 H 327.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9A279B |
|---|---|
| RGB | rgb(154, 39, 155) |
| HSL | hsl(299, 60%, 38%) |
| HSV | hsv(299, 75%, 61%) |
| CMYK | cmyk(0.6%, 74.8%, 0%, 39.2%) |
| CIE-LAB | lab(39.05, 59.94, -38.08) |
| CIE-LCH | lch(39.05, 71.02, 327.58°) |
| OKLab | oklab(50.06% 0.1668 -0.1056) |
| OKLCH | oklch(50.06% 0.197 327.7) |
| XYZ | xyz(19.9681, 10.6891, 32.0155) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.35
Barney Purple
#A00498
ΔE00 2.52
Barney
#AC1DB8
ΔE00 4.99
Medium Purple
#9E43A2
ΔE00 5.19
Darkmagenta
#8B008B
ΔE00 5.41
Purply
#983FB2
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A279B #289B27
analogous
#60279B #9A279B #9B2762
triadic
#9A279B #9B9A27 #279B9A
tetradic
#9A279B #9B6027 #289B27 #27629B
square
#9A279B #9B6027 #289B27 #27629B
split-complementary
#9A279B #629B27 #279B60
monochromatic
#390E39 #691B6A #9A279B #CA33CC #D764D8
Accessibility & contrast
On white
6.69
#9A279B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#9A279B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A279B
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A279B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A279B | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B539E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#9F3A5F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9a279b; /* rgb */ color: rgb(154, 39, 155); /* oklch */ color: oklch(50.1% 0.197 327.7);
Tailwind
colors: {
custom: {
50: '#bb6eb9',
500: '#9a279b',
950: '#000000',
},
}SCSS
$custom: #9a279b; $custom-light: #bb6eb9; $custom-dark: #000000;
JSON
{
"hex": "#9a279b",
"rgb": {
"r": 154,
"g": 39,
"b": 155
},
"hsl": {
"h": 299.483,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.50064,
"c": 0.1974,
"h": 327.7
},
"luminance": 0.10688
}Semantic roles & 50–950 ramp
primary
#9A279B
secondary
#61BE60
accent
#E34546
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80