#912196#912196
#912196 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.195 H 326.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #912196 |
|---|---|
| RGB | rgb(145, 33, 150) |
| HSL | hsl(297, 64%, 36%) |
| HSV | hsv(297, 78%, 59%) |
| CMYK | cmyk(3.3%, 78%, 0%, 41.2%) |
| CIE-LAB | lab(36.58, 59.05, -39.08) |
| CIE-LCH | lch(36.58, 70.80, 326.50°) |
| OKLab | oklab(47.91% 0.1623 -0.1087) |
| OKLCH | oklch(47.91% 0.195 326.2) |
| XYZ | xyz(17.7256, 9.3107, 29.7118) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.75
Warm Purple
#952E8F
ΔE00 3.01
Darkmagenta
#8B008B
ΔE00 3.45
Purple (survey)
#7E1E9C
ΔE00 4.58
Purple
#800080
ΔE00 5.55
Barney
#AC1DB8
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912196 #269621
analogous
#562196 #912196 #962160
triadic
#912196 #969121 #219691
tetradic
#912196 #965621 #269621 #216096
square
#912196 #965621 #269621 #216096
split-complementary
#912196 #609621 #219656
monochromatic
#300B32 #611664 #912196 #C12CC8 #D557DA
Accessibility & contrast
On white
7.34
#912196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#912196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #912196
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912196 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#3E5B93
Tritanopia (blue-blind)
#95365B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #912196; /* rgb */ color: rgb(145, 33, 150); /* oklch */ color: oklch(47.9% 0.195 326.2);
Tailwind
colors: {
custom: {
50: '#b56ab5',
500: '#912196',
950: '#000000',
},
}SCSS
$custom: #912196; $custom-light: #b56ab5; $custom-dark: #000000;
JSON
{
"hex": "#912196",
"rgb": {
"r": 145,
"g": 33,
"b": 150
},
"hsl": {
"h": 297.436,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.4791,
"c": 0.1953,
"h": 326.2
},
"luminance": 0.09309
}Semantic roles & 50–950 ramp
primary
#912196
secondary
#59BE55
accent
#E74148
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80