#912E78#912E78
#912E78 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.157 H 339.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #912E78 |
|---|---|
| RGB | rgb(145, 46, 120) |
| HSL | hsl(315, 52%, 37%) |
| HSV | hsv(315, 68%, 57%) |
| CMYK | cmyk(0%, 68.3%, 17.2%, 43.1%) |
| CIE-LAB | lab(36.61, 49.55, -20.50) |
| CIE-LCH | lch(36.61, 53.62, 337.52°) |
| OKLab | oklab(47.42% 0.147 -0.0553) |
| OKLCH | oklch(47.42% 0.157 339.4) |
| XYZ | xyz(16.0446, 9.3313, 18.7218) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.76
Bruise
#7E4071
ΔE00 5.42
Light Eggplant
#894585
ΔE00 5.50
Red Violet
#9E0168
ΔE00 5.54
Barney Purple
#A00498
ΔE00 7.12
Darkmagenta
#8B008B
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912E78 #2E9147
analogous
#792E91 #912E78 #912E46
triadic
#912E78 #78912E #2E7891
tetradic
#912E78 #91792E #2E9147 #2E4691
square
#912E78 #91792E #2E9147 #2E4691
split-complementary
#912E78 #46912E #2E9179
monochromatic
#34112B #631F52 #912E78 #BF3D9E #D06AB6
Accessibility & contrast
On white
7.33
#912E78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#912E78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #912E78
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912E78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912E78 | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334C7A
Deuteranopia (green-blind)
#525C76
Tritanopia (blue-blind)
#99314F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #912e78; /* rgb */ color: rgb(145, 46, 120); /* oklch */ color: oklch(47.4% 0.157 339.4);
Tailwind
colors: {
custom: {
50: '#b46f9f',
500: '#912e78',
950: '#000000',
},
}SCSS
$custom: #912e78; $custom-light: #b46f9f; $custom-dark: #000000;
JSON
{
"hex": "#912e78",
"rgb": {
"r": 145,
"g": 46,
"b": 120
},
"hsl": {
"h": 315.152,
"s": 51.832,
"l": 37.451
},
"oklch": {
"l": 0.47423,
"c": 0.15702,
"h": 339.4
},
"luminance": 0.0933
}Semantic roles & 50–950 ramp
primary
#912E78
secondary
#64B779
accent
#DB714D
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E