#8A3FB4#8A3FB4
#8A3FB4 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.184 H 311.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3FB4 |
|---|---|
| RGB | rgb(138, 63, 180) |
| HSL | hsl(278, 48%, 48%) |
| HSV | hsv(278, 65%, 71%) |
| CMYK | cmyk(23.3%, 65%, 0%, 29.4%) |
| CIE-LAB | lab(41.62, 51.48, -49.03) |
| CIE-LCH | lch(41.62, 71.10, 316.39°) |
| OKLab | oklab(51.91% 0.1207 -0.1383) |
| OKLCH | oklch(51.91% 0.184 311.1) |
| XYZ | xyz(20.4954, 12.2540, 44.4568) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.01
Darkorchid
#9932CC
ΔE00 4.15
Royal Purple
#7851A9
ΔE00 5.73
Medium Purple
#9E43A2
ΔE00 6.48
Barney
#AC1DB8
ΔE00 6.49
Darkviolet
#9400D3
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3FB4 #69B43F
analogous
#503FB4 #8A3FB4 #B43FA3
triadic
#8A3FB4 #B48A3F #3FB48A
tetradic
#8A3FB4 #B4503F #69B43F #3FA3B4
square
#8A3FB4 #B4503F #69B43F #3FA3B4
split-complementary
#8A3FB4 #A3B43F #3FB450
monochromatic
#441F59 #672F87 #8A3FB4 #A667CA #C194DA
Accessibility & contrast
On white
6.09
#8A3FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#8A3FB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3FB4
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3FB4 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#3264B1
Tritanopia (blue-blind)
#855674
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8a3fb4; /* rgb */ color: rgb(138, 63, 180); /* oklch */ color: oklch(51.9% 0.184 311.1);
Tailwind
colors: {
custom: {
50: '#b079cb',
500: '#8a3fb4',
950: '#000000',
},
}SCSS
$custom: #8a3fb4; $custom-light: #b079cb; $custom-dark: #000000;
JSON
{
"hex": "#8a3fb4",
"rgb": {
"r": 138,
"g": 63,
"b": 180
},
"hsl": {
"h": 278.462,
"s": 48.148,
"l": 47.647
},
"oklch": {
"l": 0.51906,
"c": 0.18353,
"h": 311.1
},
"luminance": 0.12254
}Semantic roles & 50–950 ramp
primary
#8A3FB4
secondary
#9FC58A
accent
#D85081
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82