#8A4FC2#8A4FC2
#8A4FC2 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.176 H 305.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4FC2 |
|---|---|
| RGB | rgb(138, 79, 194) |
| HSL | hsl(271, 49%, 54%) |
| HSV | hsv(271, 59%, 76%) |
| CMYK | cmyk(28.9%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(45.48, 46.62, -51.01) |
| CIE-LCH | lch(45.48, 69.11, 312.42°) |
| OKLab | oklab(54.99% 0.1008 -0.1441) |
| OKLCH | oklch(54.99% 0.176 305) |
| XYZ | xyz(23.0127, 14.8904, 52.6903) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.86
Royal Purple
#7851A9
ΔE00 5.02
Purply
#983FB2
ΔE00 5.41
Darkorchid
#9932CC
ΔE00 5.58
Purpley
#8756E4
ΔE00 5.79
Amethyst
#9B5FC0
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4FC2 #87C24F
analogous
#504FC2 #8A4FC2 #C24FC0
triadic
#8A4FC2 #C28A4F #4FC28A
tetradic
#8A4FC2 #C2504F #87C24F #4FC0C2
square
#8A4FC2 #C2504F #87C24F #4FC0C2
split-complementary
#8A4FC2 #C0C24F #4FC250
monochromatic
#4C2770 #6B379D #8A4FC2 #A87CD2 #C6AAE2
Accessibility & contrast
On white
5.28
#8A4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#8A4FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4FC2
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4FC2 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A6AC6
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#806681
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8a4fc2; /* rgb */ color: rgb(138, 79, 194); /* oklch */ color: oklch(55.0% 0.176 305.0);
Tailwind
colors: {
custom: {
50: '#b083d5',
500: '#8a4fc2',
950: '#000000',
},
}SCSS
$custom: #8a4fc2; $custom-light: #b083d5; $custom-dark: #000000;
JSON
{
"hex": "#8a4fc2",
"rgb": {
"r": 138,
"g": 79,
"b": 194
},
"hsl": {
"h": 270.783,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.54993,
"c": 0.17586,
"h": 305
},
"luminance": 0.1489
}Semantic roles & 50–950 ramp
primary
#8A4FC2
secondary
#B6CF9E
accent
#D85092
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83