#8A3FE0#8A3FE0
#8A3FE0 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.1% C 0.229 H 300.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3FE0 |
|---|---|
| RGB | rgb(138, 63, 224) |
| HSL | hsl(268, 72%, 56%) |
| HSV | hsv(268, 72%, 88%) |
| CMYK | cmyk(38.4%, 71.9%, 0%, 12.2%) |
| CIE-LAB | lab(44.72, 61.65, -69.49) |
| CIE-LCH | lch(44.72, 92.90, 311.58°) |
| OKLab | oklab(55.1% 0.115 -0.1984) |
| OKLCH | oklch(55.1% 0.229 300.1) |
| XYZ | xyz(25.7099, 14.3399, 71.9199) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.07
Bluish Purple
#703BE7
ΔE00 4.42
Darkorchid
#9932CC
ΔE00 4.59
Violet (survey)
#9A0EEA
ΔE00 4.75
Vivid Purple
#9900FA
ΔE00 5.15
Purpley
#8756E4
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3FE0 #95E03F
analogous
#3F45E0 #8A3FE0 #DA3FE0
triadic
#8A3FE0 #E08A3F #3FE08A
tetradic
#8A3FE0 #E03F45 #95E03F #3FE0DA
square
#8A3FE0 #E03F45 #95E03F #3FE0DA
split-complementary
#8A3FE0 #E0DA3F #45E03F
monochromatic
#4E178E #6B1FC2 #8A3FE0 #AA74E9 #CAA8F1
Accessibility & contrast
On white
5.43
#8A3FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#8A3FE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3FE0
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3FE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3FE0 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#76678C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8a3fe0; /* rgb */ color: rgb(138, 63, 224); /* oklch */ color: oklch(55.1% 0.229 300.1);
Tailwind
colors: {
custom: {
50: '#b37beb',
500: '#8a3fe0',
950: '#000000',
},
}SCSS
$custom: #8a3fe0; $custom-light: #b37beb; $custom-dark: #000000;
JSON
{
"hex": "#8a3fe0",
"rgb": {
"r": 138,
"g": 63,
"b": 224
},
"hsl": {
"h": 267.95,
"s": 72.197,
"l": 56.275
},
"oklch": {
"l": 0.55097,
"c": 0.22927,
"h": 300.1
},
"luminance": 0.1434
}Semantic roles & 50–950 ramp
primary
#8A3FE0
secondary
#C0DF9C
accent
#EF399A
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84