#9A269B#9A269B
#9A269B is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.198 H 327.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9A269B |
|---|---|
| RGB | rgb(154, 38, 155) |
| HSL | hsl(299, 61%, 38%) |
| HSV | hsv(299, 75%, 61%) |
| CMYK | cmyk(0.6%, 75.5%, 0%, 39.2%) |
| CIE-LAB | lab(38.94, 60.26, -38.25) |
| CIE-LCH | lch(38.94, 71.38, 327.59°) |
| OKLab | oklab(49.98% 0.1677 -0.1061) |
| OKLCH | oklch(49.98% 0.198 327.7) |
| XYZ | xyz(19.9357, 10.6243, 32.0047) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.40
Barney Purple
#A00498
ΔE00 2.41
Barney
#AC1DB8
ΔE00 5.01
Darkmagenta
#8B008B
ΔE00 5.30
Medium Purple
#9E43A2
ΔE00 5.31
Purply
#983FB2
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A269B #279B26
analogous
#5F269B #9A269B #9B2662
triadic
#9A269B #9B9A26 #269B9A
tetradic
#9A269B #9B5F26 #279B26 #26629B
square
#9A269B #9B5F26 #279B26 #26629B
split-complementary
#9A269B #629B26 #269B5F
monochromatic
#380E39 #691A6A #9A269B #CB32CC #D863D9
Accessibility & contrast
On white
6.72
#9A269B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9A269B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A269B
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A269B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A269B | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08529E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#9F395F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9a269b; /* rgb */ color: rgb(154, 38, 155); /* oklch */ color: oklch(50.0% 0.198 327.7);
Tailwind
colors: {
custom: {
50: '#bb6eb9',
500: '#9a269b',
950: '#000000',
},
}SCSS
$custom: #9a269b; $custom-light: #bb6eb9; $custom-dark: #000000;
JSON
{
"hex": "#9a269b",
"rgb": {
"r": 154,
"g": 38,
"b": 155
},
"hsl": {
"h": 299.487,
"s": 60.622,
"l": 37.843
},
"oklch": {
"l": 0.49984,
"c": 0.19844,
"h": 327.7
},
"luminance": 0.10623
}Semantic roles & 50–950 ramp
primary
#9A269B
secondary
#5FBE5F
accent
#E44445
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80