#8A3B79#8A3B79
#8A3B79 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.0% C 0.133 H 336.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3B79 |
|---|---|
| RGB | rgb(138, 59, 121) |
| HSL | hsl(313, 40%, 39%) |
| HSV | hsv(313, 57%, 54%) |
| CMYK | cmyk(0%, 57.2%, 12.3%, 45.9%) |
| CIE-LAB | lab(37.69, 41.75, -19.56) |
| CIE-LCH | lch(37.69, 46.10, 334.90°) |
| OKLab | oklab(48% 0.1218 -0.0529) |
| OKLCH | oklch(48% 0.133 336.5) |
| XYZ | xyz(15.4965, 9.9128, 19.1826) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.11
Light Eggplant
#894585
ΔE00 3.31
Warm Purple
#952E8F
ΔE00 5.48
Grape
#6C3461
ΔE00 6.93
Purplish
#94568C
ΔE00 7.57
Purpleish
#98568D
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3B79 #3B8A4C
analogous
#733B8A #8A3B79 #8A3B51
triadic
#8A3B79 #798A3B #3B798A
tetradic
#8A3B79 #8A733B #3B8A4C #3B518A
square
#8A3B79 #8A733B #3B8A4C #3B518A
split-complementary
#8A3B79 #518A3B #3B8A73
monochromatic
#34162E #5F2953 #8A3B79 #B44F9E #C679B5
Accessibility & contrast
On white
7.04
#8A3B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#8A3B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A3B79
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3B79 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C517B
Deuteranopia (green-blind)
#535D77
Tritanopia (blue-blind)
#913F54
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8a3b79; /* rgb */ color: rgb(138, 59, 121); /* oklch */ color: oklch(48.0% 0.133 336.5);
Tailwind
colors: {
custom: {
50: '#ae75a0',
500: '#8a3b79',
950: '#000000',
},
}SCSS
$custom: #8a3b79; $custom-light: #ae75a0; $custom-dark: #000000;
JSON
{
"hex": "#8a3b79",
"rgb": {
"r": 138,
"g": 59,
"b": 121
},
"hsl": {
"h": 312.911,
"s": 40.102,
"l": 38.627
},
"oklch": {
"l": 0.47999,
"c": 0.13279,
"h": 336.5
},
"luminance": 0.09912
}Semantic roles & 50–950 ramp
primary
#8A3B79
secondary
#71AF7F
accent
#D07258
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E