#8A4FC9#8A4FC9
#8A4FC9 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.5% C 0.184 H 303.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4FC9 |
|---|---|
| RGB | rgb(138, 79, 201) |
| HSL | hsl(269, 53%, 55%) |
| HSV | hsv(269, 61%, 79%) |
| CMYK | cmyk(31.3%, 60.7%, 0%, 21.2%) |
| CIE-LAB | lab(45.92, 48.31, -54.36) |
| CIE-LCH | lch(45.92, 72.72, 311.63°) |
| OKLab | oklab(55.46% 0.1006 -0.1539) |
| OKLCH | oklch(55.46% 0.184 303.2) |
| XYZ | xyz(23.8174, 15.2123, 56.9285) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.72
Deep Lavender
#8D5EB7
ΔE00 5.45
Darkorchid
#9932CC
ΔE00 5.56
Royal Purple
#7851A9
ΔE00 5.85
Purply
#983FB2
ΔE00 6.20
Amethyst
#9B5FC0
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4FC9 #8EC94F
analogous
#4F51C9 #8A4FC9 #C74FC9
triadic
#8A4FC9 #C98A4F #4FC98A
tetradic
#8A4FC9 #C94F51 #8EC94F #4FC9C7
square
#8A4FC9 #C94F51 #8EC94F #4FC9C7
split-complementary
#8A4FC9 #C9C74F #51C94F
monochromatic
#4D2579 #6B33A7 #8A4FC9 #A97ED7 #C8ADE6
Accessibility & contrast
On white
5.19
#8A4FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#8A4FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4FC9
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4FC9 | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#046CCD
Deuteranopia (green-blind)
#2E6DC6
Tritanopia (blue-blind)
#7E6885
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8a4fc9; /* rgb */ color: rgb(138, 79, 201); /* oklch */ color: oklch(55.5% 0.184 303.2);
Tailwind
colors: {
custom: {
50: '#b083da',
500: '#8a4fc9',
950: '#000000',
},
}SCSS
$custom: #8a4fc9; $custom-light: #b083da; $custom-dark: #000000;
JSON
{
"hex": "#8a4fc9",
"rgb": {
"r": 138,
"g": 79,
"b": 201
},
"hsl": {
"h": 269.016,
"s": 53.043,
"l": 54.902
},
"oklch": {
"l": 0.55455,
"c": 0.18391,
"h": 303.2
},
"luminance": 0.15212
}Semantic roles & 50–950 ramp
primary
#8A4FC9
secondary
#BBD4A0
accent
#DC4B96
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83