#8A4FD3#8A4FD3
#8A4FD3 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.195 H 300.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4FD3 |
|---|---|
| RGB | rgb(138, 79, 211) |
| HSL | hsl(267, 60%, 57%) |
| HSV | hsv(267, 63%, 83%) |
| CMYK | cmyk(34.6%, 62.6%, 0%, 17.3%) |
| CIE-LAB | lab(46.58, 50.77, -59.05) |
| CIE-LCH | lch(46.58, 77.88, 310.69°) |
| OKLab | oklab(56.14% 0.1001 -0.1677) |
| OKLCH | oklch(56.14% 0.195 300.8) |
| XYZ | xyz(25.0323, 15.6982, 63.3267) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.32
Lightish Purple
#A552E6
ΔE00 5.70
Darkorchid
#9932CC
ΔE00 5.91
Light Indigo
#6D5ACF
ΔE00 6.18
Blueviolet
#8A2BE2
ΔE00 6.45
Deep Lavender
#8D5EB7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4FD3 #98D34F
analogous
#4F56D3 #8A4FD3 #CC4FD3
triadic
#8A4FD3 #D38A4F #4FD38A
tetradic
#8A4FD3 #D34F56 #98D34F #4FD3CC
square
#8A4FD3 #D34F56 #98D34F #4FD3CC
split-complementary
#8A4FD3 #D3CC4F #56D34F
monochromatic
#4E2286 #6B2EB7 #8A4FD3 #AB80DF #CBB1EB
Accessibility & contrast
On white
5.07
#8A4FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#8A4FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4FD3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4FD3 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#1D6ED0
Tritanopia (blue-blind)
#7B6C8A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8a4fd3; /* rgb */ color: rgb(138, 79, 211); /* oklch */ color: oklch(56.1% 0.195 300.8);
Tailwind
colors: {
custom: {
50: '#b183e1',
500: '#8a4fd3',
950: '#000000',
},
}SCSS
$custom: #8a4fd3; $custom-light: #b183e1; $custom-dark: #000000;
JSON
{
"hex": "#8a4fd3",
"rgb": {
"r": 138,
"g": 79,
"b": 211
},
"hsl": {
"h": 266.818,
"s": 60,
"l": 56.863
},
"oklch": {
"l": 0.56136,
"c": 0.19536,
"h": 300.8
},
"luminance": 0.15698
}Semantic roles & 50–950 ramp
primary
#8A4FD3
secondary
#C2DAA4
accent
#E3459C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83