#8A3FC1#8A3FC1
#8A3FC1 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.8% C 0.197 H 307.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3FC1 |
|---|---|
| RGB | rgb(138, 63, 193) |
| HSL | hsl(275, 51%, 50%) |
| HSV | hsv(275, 67%, 76%) |
| CMYK | cmyk(28.5%, 67.4%, 0%, 24.3%) |
| CIE-LAB | lab(42.47, 54.41, -55.27) |
| CIE-LCH | lch(42.47, 77.56, 314.55°) |
| OKLab | oklab(52.8% 0.1197 -0.1566) |
| OKLCH | oklch(52.8% 0.197 307.4) |
| XYZ | xyz(21.8824, 12.8088, 51.7613) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.03
Purply
#983FB2
ΔE00 4.29
Blueviolet
#8A2BE2
ΔE00 5.14
Darkviolet
#9400D3
ΔE00 5.99
Royal Purple
#7851A9
ΔE00 6.32
Violet (survey)
#9A0EEA
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3FC1 #76C13F
analogous
#493FC1 #8A3FC1 #C13FB7
triadic
#8A3FC1 #C18A3F #3FC18A
tetradic
#8A3FC1 #C1493F #76C13F #3FB7C1
square
#8A3FC1 #C1493F #76C13F #3FB7C1
split-complementary
#8A3FC1 #B7C13F #3FC149
monochromatic
#482165 #693093 #8A3FC1 #A66DD0 #C29CDF
Accessibility & contrast
On white
5.90
#8A3FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#8A3FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3FC1
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3FC1 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#2065BE
Tritanopia (blue-blind)
#815B7B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a3fc1; /* rgb */ color: rgb(138, 63, 193); /* oklch */ color: oklch(52.8% 0.197 307.4);
Tailwind
colors: {
custom: {
50: '#b079d4',
500: '#8a3fc1',
950: '#000000',
},
}SCSS
$custom: #8a3fc1; $custom-light: #b079d4; $custom-dark: #000000;
JSON
{
"hex": "#8a3fc1",
"rgb": {
"r": 138,
"g": 63,
"b": 193
},
"hsl": {
"h": 274.615,
"s": 51.181,
"l": 50.196
},
"oklch": {
"l": 0.52795,
"c": 0.19707,
"h": 307.4
},
"luminance": 0.12809
}Semantic roles & 50–950 ramp
primary
#8A3FC1
secondary
#A9CB91
accent
#DB4D89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83