#8A3FD9#8A3FD9
#8A3FD9 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.222 H 301.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3FD9 |
|---|---|
| RGB | rgb(138, 63, 217) |
| HSL | hsl(269, 67%, 55%) |
| HSV | hsv(269, 71%, 85%) |
| CMYK | cmyk(36.4%, 71%, 0%, 14.9%) |
| CIE-LAB | lab(44.19, 59.99, -66.36) |
| CIE-LCH | lch(44.19, 89.46, 312.11°) |
| OKLab | oklab(54.56% 0.1163 -0.1892) |
| OKLCH | oklch(54.56% 0.222 301.6) |
| XYZ | xyz(24.7801, 13.9679, 67.0228) |
| Luminance | 0.1397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.07
Darkorchid
#9932CC
ΔE00 3.90
Bluish Purple
#703BE7
ΔE00 4.75
Violet (survey)
#9A0EEA
ΔE00 4.82
Vivid Purple
#9900FA
ΔE00 5.55
Purpley
#8756E4
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3FD9 #8ED93F
analogous
#3F41D9 #8A3FD9 #D73FD9
triadic
#8A3FD9 #D98A3F #3FD98A
tetradic
#8A3FD9 #D93F41 #8ED93F #3FD9D7
square
#8A3FD9 #D93F41 #8ED93F #3FD9D7
split-complementary
#8A3FD9 #D9D73F #41D93F
monochromatic
#4D1A84 #6B24B7 #8A3FD9 #A972E3 #C8A5ED
Accessibility & contrast
On white
5.54
#8A3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#8A3FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3FD9
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3FD9 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#796488
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8a3fd9; /* rgb */ color: rgb(138, 63, 217); /* oklch */ color: oklch(54.6% 0.222 301.6);
Tailwind
colors: {
custom: {
50: '#b27ae6',
500: '#8a3fd9',
950: '#000000',
},
}SCSS
$custom: #8a3fd9; $custom-light: #b27ae6; $custom-dark: #000000;
JSON
{
"hex": "#8a3fd9",
"rgb": {
"r": 138,
"g": 63,
"b": 217
},
"hsl": {
"h": 269.221,
"s": 66.957,
"l": 54.902
},
"oklch": {
"l": 0.54557,
"c": 0.22203,
"h": 301.6
},
"luminance": 0.13968
}Semantic roles & 50–950 ramp
primary
#8A3FD9
secondary
#BBDA9A
accent
#EA3E96
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84