#8A507E#8A507E
#8A507E is a mid, moderate pink. Relative luminance 0.126; OKLCH L 51.5% C 0.100 H 335.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8A507E |
|---|---|
| RGB | rgb(138, 80, 126) |
| HSL | hsl(312, 27%, 43%) |
| HSV | hsv(312, 42%, 54%) |
| CMYK | cmyk(0%, 42%, 8.7%, 45.9%) |
| CIE-LAB | lab(42.23, 31.37, -15.66) |
| CIE-LCH | lch(42.23, 35.06, 333.47°) |
| OKLab | oklab(51.45% 0.0903 -0.0422) |
| OKLCH | oklch(51.45% 0.1 335) |
| XYZ | xyz(17.1157, 12.6479, 21.2744) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish
#94568C
ΔE00 3.49
Dull Purple
#84597E
ΔE00 3.53
Purpleish
#98568D
ΔE00 4.03
Light Eggplant
#894585
ΔE00 4.45
Dusky Purple
#895B7B
ΔE00 4.46
Light Plum
#9D5783
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A507E #508A5C
analogous
#79508A #8A507E #8A5061
triadic
#8A507E #7E8A50 #507E8A
tetradic
#8A507E #8A7950 #508A5C #50618A
square
#8A507E #8A7950 #508A5C #50618A
split-complementary
#8A507E #618A50 #508A79
monochromatic
#3D2337 #633A5B #8A507E #AA6D9E #C194B7
Accessibility & contrast
On white
5.95
#8A507E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8A507E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A507E
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A507E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A507E | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505E80
Deuteranopia (green-blind)
#5F677C
Tritanopia (blue-blind)
#8F5361
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a507e; /* rgb */ color: rgb(138, 80, 126); /* oklch */ color: oklch(51.5% 0.100 335.0);
Tailwind
colors: {
custom: {
50: '#ad82a3',
500: '#8a507e',
950: '#000000',
},
}SCSS
$custom: #8a507e; $custom-light: #ad82a3; $custom-dark: #000000;
JSON
{
"hex": "#8a507e",
"rgb": {
"r": 138,
"g": 80,
"b": 126
},
"hsl": {
"h": 312.414,
"s": 26.606,
"l": 42.745
},
"oklch": {
"l": 0.51454,
"c": 0.09961,
"h": 335
},
"luminance": 0.12647
}Semantic roles & 50–950 ramp
primary
#8A507E
secondary
#88AE90
accent
#C37865
background
#FAF8FA
surface
#F4EFF3
border
#CECACD
text
#100A0F
muted
#7F7C7F