#8A4FD1#8A4FD1
#8A4FD1 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.0% C 0.193 H 301.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4FD1 |
|---|---|
| RGB | rgb(138, 79, 209) |
| HSL | hsl(267, 59%, 56%) |
| HSV | hsv(267, 62%, 82%) |
| CMYK | cmyk(34%, 62.2%, 0%, 18%) |
| CIE-LAB | lab(46.44, 50.28, -58.12) |
| CIE-LCH | lch(46.44, 76.85, 310.86°) |
| OKLab | oklab(56% 0.1003 -0.165) |
| OKLCH | oklch(56% 0.193 301.3) |
| XYZ | xyz(24.7831, 15.5986, 62.0144) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.58
Darkorchid
#9932CC
ΔE00 5.81
Lightish Purple
#A552E6
ΔE00 5.83
Deep Lavender
#8D5EB7
ΔE00 6.24
Light Indigo
#6D5ACF
ΔE00 6.24
Blueviolet
#8A2BE2
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4FD1 #96D14F
analogous
#4F55D1 #8A4FD1 #CB4FD1
triadic
#8A4FD1 #D18A4F #4FD18A
tetradic
#8A4FD1 #D14F55 #96D14F #4FD1CB
square
#8A4FD1 #D14F55 #96D14F #4FD1CB
split-complementary
#8A4FD1 #D1CB4F #55D14F
monochromatic
#4E2283 #6B2FB4 #8A4FD1 #AA80DE #CBB0EA
Accessibility & contrast
On white
5.10
#8A4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#8A4FD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4FD1
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4FD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4FD1 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#216DCE
Tritanopia (blue-blind)
#7B6B89
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8a4fd1; /* rgb */ color: rgb(138, 79, 209); /* oklch */ color: oklch(56.0% 0.193 301.3);
Tailwind
colors: {
custom: {
50: '#b183e0',
500: '#8a4fd1',
950: '#000000',
},
}SCSS
$custom: #8a4fd1; $custom-light: #b183e0; $custom-dark: #000000;
JSON
{
"hex": "#8a4fd1",
"rgb": {
"r": 138,
"g": 79,
"b": 209
},
"hsl": {
"h": 267.231,
"s": 58.559,
"l": 56.471
},
"oklch": {
"l": 0.55998,
"c": 0.19308,
"h": 301.3
},
"luminance": 0.15599
}Semantic roles & 50–950 ramp
primary
#8A4FD1
secondary
#C0D9A3
accent
#E2469B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83