#8A367B#8A367B
#8A367B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.4% C 0.143 H 335.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8A367B |
|---|---|
| RGB | rgb(138, 54, 123) |
| HSL | hsl(311, 44%, 38%) |
| HSV | hsv(311, 61%, 54%) |
| CMYK | cmyk(0%, 60.9%, 10.9%, 45.9%) |
| CIE-LAB | lab(36.88, 44.51, -22.05) |
| CIE-LCH | lch(36.88, 49.67, 333.65°) |
| OKLab | oklab(47.44% 0.1293 -0.0599) |
| OKLCH | oklch(47.44% 0.143 335.1) |
| XYZ | xyz(15.3757, 9.4728, 19.7537) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 3.75
Bruise
#7E4071
ΔE00 4.07
Warm Purple
#952E8F
ΔE00 4.40
Grape
#6C3461
ΔE00 7.10
Darkish Purple
#751973
ΔE00 7.35
Barney Purple
#A00498
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A367B #368A45
analogous
#6F368A #8A367B #8A3651
triadic
#8A367B #7B8A36 #367B8A
tetradic
#8A367B #8A6F36 #368A45 #36518A
square
#8A367B #8A6F36 #368A45 #36518A
split-complementary
#8A367B #518A36 #368A6F
monochromatic
#32142D #5E2554 #8A367B #B647A2 #C872B9
Accessibility & contrast
On white
7.26
#8A367B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#8A367B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A367B
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A367B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A367B | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#505B79
Tritanopia (blue-blind)
#903B53
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8a367b; /* rgb */ color: rgb(138, 54, 123); /* oklch */ color: oklch(47.4% 0.143 335.1);
Tailwind
colors: {
custom: {
50: '#af72a1',
500: '#8a367b',
950: '#000000',
},
}SCSS
$custom: #8a367b; $custom-light: #af72a1; $custom-dark: #000000;
JSON
{
"hex": "#8a367b",
"rgb": {
"r": 138,
"g": 54,
"b": 123
},
"hsl": {
"h": 310.714,
"s": 43.75,
"l": 37.647
},
"oklch": {
"l": 0.47435,
"c": 0.14251,
"h": 335.1
},
"luminance": 0.09472
}Semantic roles & 50–950 ramp
primary
#8A367B
secondary
#6BB178
accent
#D36B54
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E