#9726B1#9726B1
#9726B1 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.215 H 319.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #9726B1 |
|---|---|
| RGB | rgb(151, 38, 177) |
| HSL | hsl(289, 65%, 42%) |
| HSV | hsv(289, 79%, 69%) |
| CMYK | cmyk(14.7%, 78.5%, 0%, 30.6%) |
| CIE-LAB | lab(39.82, 63.54, -50.05) |
| CIE-LCH | lch(39.82, 80.89, 321.77°) |
| OKLab | oklab(50.95% 0.1625 -0.1407) |
| OKLCH | oklch(50.95% 0.215 319.1) |
| XYZ | xyz(21.3904, 11.1409, 42.6101) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.72
Purply
#983FB2
ΔE00 4.08
Darkorchid
#9932CC
ΔE00 4.67
Barney Purple
#A00498
ΔE00 5.35
Darkviolet
#9400D3
ΔE00 5.48
Purple (survey)
#7E1E9C
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9726B1 #40B126
analogous
#5226B1 #9726B1 #B12686
triadic
#9726B1 #B19726 #26B197
tetradic
#9726B1 #B15226 #40B126 #2686B1
square
#9726B1 #B15226 #40B126 #2686B1
split-complementary
#9726B1 #86B126 #26B152
monochromatic
#41104C #6C1B7F #9726B1 #B93FD6 #CC71E0
Accessibility & contrast
On white
6.51
#9726B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#9726B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9726B1
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9726B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9726B1 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#3061AE
Tritanopia (blue-blind)
#97456B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9726b1; /* rgb */ color: rgb(151, 38, 177); /* oklch */ color: oklch(50.9% 0.215 319.1);
Tailwind
colors: {
custom: {
50: '#ba6ec9',
500: '#9726b1',
950: '#000000',
},
}SCSS
$custom: #9726b1; $custom-light: #ba6ec9; $custom-dark: #000000;
JSON
{
"hex": "#9726b1",
"rgb": {
"r": 151,
"g": 38,
"b": 177
},
"hsl": {
"h": 288.777,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.50949,
"c": 0.21494,
"h": 319.1
},
"luminance": 0.1114
}Semantic roles & 50–950 ramp
primary
#9726B1
secondary
#7DC76B
accent
#E8405F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82