#8A4FC5#8A4FC5
#8A4FC5 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.179 H 304.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4FC5 |
|---|---|
| RGB | rgb(138, 79, 197) |
| HSL | hsl(270, 50%, 54%) |
| HSV | hsv(270, 60%, 77%) |
| CMYK | cmyk(29.9%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(45.67, 47.34, -52.45) |
| CIE-LCH | lch(45.67, 70.66, 312.07°) |
| OKLab | oklab(55.19% 0.1007 -0.1483) |
| OKLCH | oklch(55.19% 0.179 304.2) |
| XYZ | xyz(23.3530, 15.0265, 54.4826) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 5.09
Purpley
#8756E4
ΔE00 5.32
Royal Purple
#7851A9
ΔE00 5.36
Darkorchid
#9932CC
ΔE00 5.55
Purply
#983FB2
ΔE00 5.74
Amethyst
#9B5FC0
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4FC5 #8AC54F
analogous
#4F4FC5 #8A4FC5 #C54FC5
triadic
#8A4FC5 #C58A4F #4FC58A
tetradic
#8A4FC5 #C54F4F #8AC54F #4FC5C5
square
#8A4FC5 #C54F4F #8AC54F #4FC5C5
split-complementary
#8A4FC5 #C5C54F #4FC54F
monochromatic
#4D2674 #6B35A2 #8A4FC5 #A97DD4 #C7ABE3
Accessibility & contrast
On white
5.24
#8A4FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#8A4FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4FC5
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4FC5 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#136BC9
Deuteranopia (green-blind)
#336CC2
Tritanopia (blue-blind)
#7F6782
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8a4fc5; /* rgb */ color: rgb(138, 79, 197); /* oklch */ color: oklch(55.2% 0.179 304.2);
Tailwind
colors: {
custom: {
50: '#b083d7',
500: '#8a4fc5',
950: '#000000',
},
}SCSS
$custom: #8a4fc5; $custom-light: #b083d7; $custom-dark: #000000;
JSON
{
"hex": "#8a4fc5",
"rgb": {
"r": 138,
"g": 79,
"b": 197
},
"hsl": {
"h": 270,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.55189,
"c": 0.17931,
"h": 304.2
},
"luminance": 0.15026
}Semantic roles & 50–950 ramp
primary
#8A4FC5
secondary
#B8D19F
accent
#DA4E94
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83