#8A379F#8A379F
#8A379F is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.174 H 318.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8A379F |
|---|---|
| RGB | rgb(138, 55, 159) |
| HSL | hsl(288, 49%, 42%) |
| HSV | hsv(288, 65%, 62%) |
| CMYK | cmyk(13.2%, 65.4%, 0%, 37.6%) |
| CIE-LAB | lab(38.97, 50.76, -40.77) |
| CIE-LCH | lch(38.97, 65.11, 321.23°) |
| OKLab | oklab(49.58% 0.1309 -0.114) |
| OKLCH | oklch(49.58% 0.174 318.9) |
| XYZ | xyz(18.1046, 10.6397, 33.8942) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.23
Warm Purple
#952E8F
ΔE00 4.51
Purple (survey)
#7E1E9C
ΔE00 5.18
Medium Purple
#9E43A2
ΔE00 5.38
Barney Purple
#A00498
ΔE00 5.94
Barney
#AC1DB8
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A379F #4C9F37
analogous
#56379F #8A379F #9F3780
triadic
#8A379F #9F8A37 #379F8A
tetradic
#8A379F #9F5637 #4C9F37 #37809F
square
#8A379F #9F5637 #4C9F37 #37809F
split-complementary
#8A379F #809F37 #379F56
monochromatic
#3B1844 #632772 #8A379F #AC51C3 #C17ED2
Accessibility & contrast
On white
6.71
#8A379F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#8A379F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A379F
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A379F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A379F | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#3D5F9C
Tritanopia (blue-blind)
#8A4966
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8a379f; /* rgb */ color: rgb(138, 55, 159); /* oklch */ color: oklch(49.6% 0.174 318.9);
Tailwind
colors: {
custom: {
50: '#af74bc',
500: '#8a379f',
950: '#000000',
},
}SCSS
$custom: #8a379f; $custom-light: #af74bc; $custom-dark: #000000;
JSON
{
"hex": "#8a379f",
"rgb": {
"r": 138,
"g": 55,
"b": 159
},
"hsl": {
"h": 287.885,
"s": 48.598,
"l": 41.961
},
"oklch": {
"l": 0.49577,
"c": 0.17361,
"h": 318.9
},
"luminance": 0.10639
}Semantic roles & 50–950 ramp
primary
#8A379F
secondary
#84BC76
accent
#D8506B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81