#8A4FC0#8A4FC0
#8A4FC0 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.174 H 305.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4FC0 |
|---|---|
| RGB | rgb(138, 79, 192) |
| HSL | hsl(271, 47%, 53%) |
| HSV | hsv(271, 59%, 75%) |
| CMYK | cmyk(28.1%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(45.36, 46.14, -50.05) |
| CIE-LCH | lch(45.36, 68.07, 312.67°) |
| OKLab | oklab(54.86% 0.1008 -0.1413) |
| OKLCH | oklch(54.86% 0.174 305.5) |
| XYZ | xyz(22.7896, 14.8012, 51.5153) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.71
Royal Purple
#7851A9
ΔE00 4.80
Purply
#983FB2
ΔE00 5.20
Darkorchid
#9932CC
ΔE00 5.63
Amethyst
#9B5FC0
ΔE00 6.00
Purpley
#8756E4
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4FC0 #85C04F
analogous
#514FC0 #8A4FC0 #C04FBE
triadic
#8A4FC0 #C08A4F #4FC08A
tetradic
#8A4FC0 #C0514F #85C04F #4FBEC0
square
#8A4FC0 #C0514F #85C04F #4FBEC0
split-complementary
#8A4FC0 #BEC04F #4FC051
monochromatic
#4C276D #6B379A #8A4FC0 #A87CD0 #C6A9E0
Accessibility & contrast
On white
5.30
#8A4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#8A4FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4FC0
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4FC0 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E6AC4
Deuteranopia (green-blind)
#396CBD
Tritanopia (blue-blind)
#816580
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8a4fc0; /* rgb */ color: rgb(138, 79, 192); /* oklch */ color: oklch(54.9% 0.174 305.5);
Tailwind
colors: {
custom: {
50: '#af83d4',
500: '#8a4fc0',
950: '#000000',
},
}SCSS
$custom: #8a4fc0; $custom-light: #af83d4; $custom-dark: #000000;
JSON
{
"hex": "#8a4fc0",
"rgb": {
"r": 138,
"g": 79,
"b": 192
},
"hsl": {
"h": 271.327,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.54864,
"c": 0.17355,
"h": 305.5
},
"luminance": 0.14801
}Semantic roles & 50–950 ramp
primary
#8A4FC0
secondary
#B4CE9D
accent
#D75191
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83