#8A4FC7#8A4FC7
#8A4FC7 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.182 H 303.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4FC7 |
|---|---|
| RGB | rgb(138, 79, 199) |
| HSL | hsl(270, 52%, 55%) |
| HSV | hsv(270, 60%, 78%) |
| CMYK | cmyk(30.7%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(45.80, 47.83, -53.41) |
| CIE-LCH | lch(45.80, 71.69, 311.85°) |
| OKLab | oklab(55.32% 0.1007 -0.1511) |
| OKLCH | oklch(55.32% 0.182 303.7) |
| XYZ | xyz(23.5837, 15.1188, 55.6975) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 5.02
Deep Lavender
#8D5EB7
ΔE00 5.27
Darkorchid
#9932CC
ΔE00 5.55
Royal Purple
#7851A9
ΔE00 5.61
Purply
#983FB2
ΔE00 5.97
Amethyst
#9B5FC0
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4FC7 #8CC74F
analogous
#4F50C7 #8A4FC7 #C64FC7
triadic
#8A4FC7 #C78A4F #4FC78A
tetradic
#8A4FC7 #C74F50 #8CC74F #4FC7C6
square
#8A4FC7 #C74F50 #8CC74F #4FC7C6
split-complementary
#8A4FC7 #C7C64F #50C74F
monochromatic
#4D2676 #6B34A4 #8A4FC7 #A97DD6 #C8ACE5
Accessibility & contrast
On white
5.22
#8A4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#8A4FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4FC7
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4FC7 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D6BCB
Deuteranopia (green-blind)
#316CC4
Tritanopia (blue-blind)
#7F6883
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8a4fc7; /* rgb */ color: rgb(138, 79, 199); /* oklch */ color: oklch(55.3% 0.182 303.7);
Tailwind
colors: {
custom: {
50: '#b083d9',
500: '#8a4fc7',
950: '#000000',
},
}SCSS
$custom: #8a4fc7; $custom-light: #b083d9; $custom-dark: #000000;
JSON
{
"hex": "#8a4fc7",
"rgb": {
"r": 138,
"g": 79,
"b": 199
},
"hsl": {
"h": 269.5,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.55321,
"c": 0.18161,
"h": 303.7
},
"luminance": 0.15119
}Semantic roles & 50–950 ramp
primary
#8A4FC7
secondary
#B9D2A0
accent
#DB4D95
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83