#9A26BA#9A26BA
#9A26BA is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.0% C 0.224 H 317.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9A26BA |
|---|---|
| RGB | rgb(154, 38, 186) |
| HSL | hsl(287, 66%, 44%) |
| HSV | hsv(287, 80%, 73%) |
| CMYK | cmyk(17.2%, 79.6%, 0%, 27.1%) |
| CIE-LAB | lab(40.90, 65.78, -53.60) |
| CIE-LCH | lch(40.90, 84.85, 320.83°) |
| OKLab | oklab(52% 0.1648 -0.151) |
| OKLCH | oklch(52% 0.224 317.5) |
| XYZ | xyz(22.8812, 11.8025, 47.5177) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.37
Barney
#AC1DB8
ΔE00 3.38
Purply
#983FB2
ΔE00 3.94
Darkviolet
#9400D3
ΔE00 4.59
Vibrant Purple
#AD03DE
ΔE00 5.28
Barney Purple
#A00498
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A26BA #46BA26
analogous
#5026BA #9A26BA #BA2690
triadic
#9A26BA #BA9A26 #26BA9A
tetradic
#9A26BA #BA5026 #46BA26 #2690BA
square
#9A26BA #BA5026 #46BA26 #2690BA
split-complementary
#9A26BA #90BA26 #26BA50
monochromatic
#461154 #701C87 #9A26BA #B944D9 #CC77E3
Accessibility & contrast
On white
6.25
#9A26BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#9A26BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A26BA
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A26BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A26BA | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#2A64B7
Tritanopia (blue-blind)
#994871
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9a26ba; /* rgb */ color: rgb(154, 38, 186); /* oklch */ color: oklch(52.0% 0.224 317.5);
Tailwind
colors: {
custom: {
50: '#bc6fcf',
500: '#9a26ba',
950: '#000000',
},
}SCSS
$custom: #9a26ba; $custom-light: #bc6fcf; $custom-dark: #000000;
JSON
{
"hex": "#9a26ba",
"rgb": {
"r": 154,
"g": 38,
"b": 186
},
"hsl": {
"h": 287.027,
"s": 66.071,
"l": 43.922
},
"oklch": {
"l": 0.51999,
"c": 0.2235,
"h": 317.5
},
"luminance": 0.11801
}Semantic roles & 50–950 ramp
primary
#9A26BA
secondary
#84CB71
accent
#E93F64
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82