#8A3FC0#8A3FC0
#8A3FC0 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.196 H 307.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3FC0 |
|---|---|
| RGB | rgb(138, 63, 192) |
| HSL | hsl(275, 51%, 50%) |
| HSV | hsv(275, 67%, 75%) |
| CMYK | cmyk(28.1%, 67.2%, 0%, 24.7%) |
| CIE-LAB | lab(42.41, 54.18, -54.80) |
| CIE-LCH | lch(42.41, 77.06, 314.67°) |
| OKLab | oklab(52.73% 0.1198 -0.1552) |
| OKLCH | oklch(52.73% 0.196 307.7) |
| XYZ | xyz(21.7712, 12.7644, 51.1758) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.08
Purply
#983FB2
ΔE00 4.17
Blueviolet
#8A2BE2
ΔE00 5.27
Darkviolet
#9400D3
ΔE00 6.03
Royal Purple
#7851A9
ΔE00 6.26
Violet (survey)
#9A0EEA
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3FC0 #75C03F
analogous
#4A3FC0 #8A3FC0 #C03FB5
triadic
#8A3FC0 #C08A3F #3FC08A
tetradic
#8A3FC0 #C04A3F #75C03F #3FB5C0
square
#8A3FC0 #C04A3F #75C03F #3FB5C0
split-complementary
#8A3FC0 #B5C03F #3FC04A
monochromatic
#482164 #693092 #8A3FC0 #A66DCF #C29BDE
Accessibility & contrast
On white
5.91
#8A3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#8A3FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3FC0
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3FC0 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#2265BD
Tritanopia (blue-blind)
#815B7A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a3fc0; /* rgb */ color: rgb(138, 63, 192); /* oklch */ color: oklch(52.7% 0.196 307.7);
Tailwind
colors: {
custom: {
50: '#b079d4',
500: '#8a3fc0',
950: '#000000',
},
}SCSS
$custom: #8a3fc0; $custom-light: #b079d4; $custom-dark: #000000;
JSON
{
"hex": "#8a3fc0",
"rgb": {
"r": 138,
"g": 63,
"b": 192
},
"hsl": {
"h": 274.884,
"s": 50.588,
"l": 50
},
"oklch": {
"l": 0.52725,
"c": 0.19603,
"h": 307.7
},
"luminance": 0.12764
}Semantic roles & 50–950 ramp
primary
#8A3FC0
secondary
#A9CA91
accent
#DA4E88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83