#8A3E7C#8A3E7C
#8A3E7C is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.6% C 0.130 H 335.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3E7C |
|---|---|
| RGB | rgb(138, 62, 124) |
| HSL | hsl(311, 38%, 39%) |
| HSV | hsv(311, 55%, 54%) |
| CMYK | cmyk(0%, 55.1%, 10.1%, 45.9%) |
| CIE-LAB | lab(38.38, 40.75, -20.34) |
| CIE-LCH | lch(38.38, 45.54, 333.48°) |
| OKLab | oklab(48.56% 0.118 -0.0551) |
| OKLCH | oklch(48.56% 0.13 335) |
| XYZ | xyz(15.8420, 10.3049, 20.2195) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 2.46
Bruise
#7E4071
ΔE00 3.17
Warm Purple
#952E8F
ΔE00 5.36
Purplish
#94568C
ΔE00 6.84
Purpleish
#98568D
ΔE00 7.16
Grape
#6C3461
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3E7C #3E8A4C
analogous
#723E8A #8A3E7C #8A3E56
triadic
#8A3E7C #7C8A3E #3E7C8A
tetradic
#8A3E7C #8A723E #3E8A4C #3E568A
square
#8A3E7C #8A723E #3E8A4C #3E568A
split-complementary
#8A3E7C #568A3E #3E8A72
monochromatic
#361830 #602B56 #8A3E7C #B253A0 #C57EB8
Accessibility & contrast
On white
6.86
#8A3E7C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#8A3E7C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3E7C
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3E7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3E7C | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#545E7A
Tritanopia (blue-blind)
#904257
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8a3e7c; /* rgb */ color: rgb(138, 62, 124); /* oklch */ color: oklch(48.6% 0.130 335.0);
Tailwind
colors: {
custom: {
50: '#ae77a2',
500: '#8a3e7c',
950: '#000000',
},
}SCSS
$custom: #8a3e7c; $custom-light: #ae77a2; $custom-dark: #000000;
JSON
{
"hex": "#8a3e7c",
"rgb": {
"r": 138,
"g": 62,
"b": 124
},
"hsl": {
"h": 311.053,
"s": 38,
"l": 39.216
},
"oklch": {
"l": 0.48558,
"c": 0.13024,
"h": 335
},
"luminance": 0.10304
}Semantic roles & 50–950 ramp
primary
#8A3E7C
secondary
#75AF80
accent
#CE6F5A
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090F
muted
#807B7E