#8A3F7E#8A3F7E
#8A3F7E is a mid, vivid purple. Relative luminance 0.105; OKLCH L 48.8% C 0.130 H 333.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3F7E |
|---|---|
| RGB | rgb(138, 63, 126) |
| HSL | hsl(310, 37%, 39%) |
| HSV | hsv(310, 54%, 54%) |
| CMYK | cmyk(0%, 54.3%, 8.7%, 45.9%) |
| CIE-LAB | lab(38.67, 40.59, -21.14) |
| CIE-LCH | lch(38.67, 45.77, 332.49°) |
| OKLab | oklab(48.8% 0.1169 -0.0574) |
| OKLCH | oklch(48.8% 0.13 333.8) |
| XYZ | xyz(16.0246, 10.4657, 20.9107) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 2.00
Bruise
#7E4071
ΔE00 3.41
Warm Purple
#952E8F
ΔE00 5.16
Purplish
#94568C
ΔE00 6.59
Purpleish
#98568D
ΔE00 6.92
Medium Purple
#9E43A2
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3F7E #3F8A4B
analogous
#713F8A #8A3F7E #8A3F59
triadic
#8A3F7E #7E8A3F #3F7E8A
tetradic
#8A3F7E #8A713F #3F8A4B #3F598A
square
#8A3F7E #8A713F #3F8A4B #3F598A
split-complementary
#8A3F7E #598A3F #3F8A71
monochromatic
#361931 #602C58 #8A3F7E #B155A3 #C57FB9
Accessibility & contrast
On white
6.79
#8A3F7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#8A3F7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3F7E
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3F7E | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#904459
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8a3f7e; /* rgb */ color: rgb(138, 63, 126); /* oklch */ color: oklch(48.8% 0.130 333.8);
Tailwind
colors: {
custom: {
50: '#ae78a3',
500: '#8a3f7e',
950: '#000000',
},
}SCSS
$custom: #8a3f7e; $custom-light: #ae78a3; $custom-dark: #000000;
JSON
{
"hex": "#8a3f7e",
"rgb": {
"r": 138,
"g": 63,
"b": 126
},
"hsl": {
"h": 309.6,
"s": 37.313,
"l": 39.412
},
"oklch": {
"l": 0.48796,
"c": 0.13026,
"h": 333.8
},
"luminance": 0.10465
}Semantic roles & 50–950 ramp
primary
#8A3F7E
secondary
#76AF7F
accent
#CD6D5B
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F