#8A427D#8A427D
#8A427D is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.2% C 0.124 H 334.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8A427D |
|---|---|
| RGB | rgb(138, 66, 125) |
| HSL | hsl(311, 35%, 40%) |
| HSV | hsv(311, 52%, 54%) |
| CMYK | cmyk(0%, 52.2%, 9.4%, 45.9%) |
| CIE-LAB | lab(39.21, 38.86, -19.68) |
| CIE-LCH | lch(39.21, 43.55, 333.14°) |
| OKLab | oklab(49.19% 0.1122 -0.0533) |
| OKLCH | oklch(49.19% 0.124 334.6) |
| XYZ | xyz(16.1311, 10.7815, 20.6295) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 2.03
Bruise
#7E4071
ΔE00 3.11
Purplish
#94568C
ΔE00 5.95
Warm Purple
#952E8F
ΔE00 5.97
Purpleish
#98568D
ΔE00 6.31
Dull Purple
#84597E
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A427D #428A4F
analogous
#73428A #8A427D #8A4259
triadic
#8A427D #7D8A42 #427D8A
tetradic
#8A427D #8A7342 #428A4F #42598A
square
#8A427D #8A7342 #428A4F #42598A
split-complementary
#8A427D #598A42 #428A73
monochromatic
#371A32 #612E58 #8A427D #B059A0 #C483B8
Accessibility & contrast
On white
6.65
#8A427D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#8A427D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A427D
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A427D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A427D | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#90465A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8a427d; /* rgb */ color: rgb(138, 66, 125); /* oklch */ color: oklch(49.2% 0.124 334.6);
Tailwind
colors: {
custom: {
50: '#ae79a2',
500: '#8a427d',
950: '#000000',
},
}SCSS
$custom: #8a427d; $custom-light: #ae79a2; $custom-dark: #000000;
JSON
{
"hex": "#8a427d",
"rgb": {
"r": 138,
"g": 66,
"b": 125
},
"hsl": {
"h": 310.833,
"s": 35.294,
"l": 40
},
"oklch": {
"l": 0.49185,
"c": 0.12421,
"h": 334.6
},
"luminance": 0.1078
}Semantic roles & 50–950 ramp
primary
#8A427D
secondary
#79AE83
accent
#CB705C
background
#FAF7FA
surface
#F5EEF3
border
#CFC9CD
text
#10090F
muted
#7F7B7F