#8A4FC8#8A4FC8
#8A4FC8 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.183 H 303.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4FC8 |
|---|---|
| RGB | rgb(138, 79, 200) |
| HSL | hsl(269, 52%, 55%) |
| HSV | hsv(269, 61%, 78%) |
| CMYK | cmyk(31%, 60.5%, 0%, 21.6%) |
| CIE-LAB | lab(45.86, 48.07, -53.88) |
| CIE-LCH | lch(45.86, 72.21, 311.74°) |
| OKLab | oklab(55.39% 0.1007 -0.1525) |
| OKLCH | oklch(55.39% 0.183 303.4) |
| XYZ | xyz(23.7002, 15.1654, 56.3110) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.87
Deep Lavender
#8D5EB7
ΔE00 5.36
Darkorchid
#9932CC
ΔE00 5.55
Royal Purple
#7851A9
ΔE00 5.73
Purply
#983FB2
ΔE00 6.09
Amethyst
#9B5FC0
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4FC8 #8DC84F
analogous
#4F51C8 #8A4FC8 #C64FC8
triadic
#8A4FC8 #C88A4F #4FC88A
tetradic
#8A4FC8 #C84F51 #8DC84F #4FC8C6
square
#8A4FC8 #C84F51 #8DC84F #4FC8C6
split-complementary
#8A4FC8 #C8C64F #51C84F
monochromatic
#4D2577 #6B34A6 #8A4FC8 #A97ED7 #C8ACE5
Accessibility & contrast
On white
5.21
#8A4FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#8A4FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4FC8
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4FC8 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#096BCC
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#7E6884
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8a4fc8; /* rgb */ color: rgb(138, 79, 200); /* oklch */ color: oklch(55.4% 0.183 303.4);
Tailwind
colors: {
custom: {
50: '#b083d9',
500: '#8a4fc8',
950: '#000000',
},
}SCSS
$custom: #8a4fc8; $custom-light: #b083d9; $custom-dark: #000000;
JSON
{
"hex": "#8a4fc8",
"rgb": {
"r": 138,
"g": 79,
"b": 200
},
"hsl": {
"h": 269.256,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.55388,
"c": 0.18276,
"h": 303.4
},
"luminance": 0.15165
}Semantic roles & 50–950 ramp
primary
#8A4FC8
secondary
#BAD3A0
accent
#DC4C96
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83