#8A3E76#8A3E76
#8A3E76 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.3% C 0.125 H 338.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3E76 |
|---|---|
| RGB | rgb(138, 62, 118) |
| HSL | hsl(316, 38%, 39%) |
| HSV | hsv(316, 55%, 54%) |
| CMYK | cmyk(0%, 55.1%, 14.5%, 45.9%) |
| CIE-LAB | lab(38.12, 39.73, -17.02) |
| CIE-LCH | lch(38.12, 43.22, 336.81°) |
| OKLab | oklab(48.28% 0.1166 -0.0458) |
| OKLCH | oklch(48.28% 0.125 338.6) |
| XYZ | xyz(15.4741, 10.1577, 18.2817) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 2.61
Light Eggplant
#894585
ΔE00 3.75
Warm Purple
#952E8F
ΔE00 6.64
Grape
#6C3461
ΔE00 6.87
Purplish
#94568C
ΔE00 7.17
Purpleish
#98568D
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3E76 #3E8A52
analogous
#783E8A #8A3E76 #8A3E50
triadic
#8A3E76 #768A3E #3E768A
tetradic
#8A3E76 #8A783E #3E8A52 #3E508A
square
#8A3E76 #8A783E #3E8A52 #3E508A
split-complementary
#8A3E76 #508A3E #3E8A78
monochromatic
#36182E #602B52 #8A3E76 #B25399 #C57EB2
Accessibility & contrast
On white
6.93
#8A3E76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#8A3E76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3E76
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3E76 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415278
Deuteranopia (green-blind)
#565E74
Tritanopia (blue-blind)
#914054
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8a3e76; /* rgb */ color: rgb(138, 62, 118); /* oklch */ color: oklch(48.3% 0.125 338.6);
Tailwind
colors: {
custom: {
50: '#ae779d',
500: '#8a3e76',
950: '#000000',
},
}SCSS
$custom: #8a3e76; $custom-light: #ae779d; $custom-dark: #000000;
JSON
{
"hex": "#8a3e76",
"rgb": {
"r": 138,
"g": 62,
"b": 118
},
"hsl": {
"h": 315.789,
"s": 38,
"l": 39.216
},
"oklch": {
"l": 0.4828,
"c": 0.12531,
"h": 338.6
},
"luminance": 0.10157
}Semantic roles & 50–950 ramp
primary
#8A3E76
secondary
#75AF84
accent
#CE785A
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E