#8A3FC3#8A3FC3
#8A3FC3 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.199 H 306.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3FC3 |
|---|---|
| RGB | rgb(138, 63, 195) |
| HSL | hsl(274, 52%, 51%) |
| HSV | hsv(274, 68%, 76%) |
| CMYK | cmyk(29.2%, 67.7%, 0%, 23.5%) |
| CIE-LAB | lab(42.61, 54.86, -56.22) |
| CIE-LCH | lch(42.61, 78.55, 314.30°) |
| OKLab | oklab(52.94% 0.1195 -0.1593) |
| OKLCH | oklch(52.94% 0.199 306.9) |
| XYZ | xyz(22.1070, 12.8987, 52.9443) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.96
Purply
#983FB2
ΔE00 4.52
Blueviolet
#8A2BE2
ΔE00 4.88
Darkviolet
#9400D3
ΔE00 5.92
Violet (survey)
#9A0EEA
ΔE00 6.28
Royal Purple
#7851A9
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3FC3 #78C33F
analogous
#483FC3 #8A3FC3 #C33FBA
triadic
#8A3FC3 #C38A3F #3FC38A
tetradic
#8A3FC3 #C3483F #78C33F #3FBAC3
square
#8A3FC3 #C3483F #78C33F #3FBAC3
split-complementary
#8A3FC3 #BAC33F #3FC348
monochromatic
#492067 #692F96 #8A3FC3 #A66ED2 #C39CE0
Accessibility & contrast
On white
5.87
#8A3FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#8A3FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3FC3
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3FC3 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#1C65C0
Tritanopia (blue-blind)
#815C7C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8a3fc3; /* rgb */ color: rgb(138, 63, 195); /* oklch */ color: oklch(52.9% 0.199 306.9);
Tailwind
colors: {
custom: {
50: '#b179d6',
500: '#8a3fc3',
950: '#000000',
},
}SCSS
$custom: #8a3fc3; $custom-light: #b179d6; $custom-dark: #000000;
JSON
{
"hex": "#8a3fc3",
"rgb": {
"r": 138,
"g": 63,
"b": 195
},
"hsl": {
"h": 274.091,
"s": 52.381,
"l": 50.588
},
"oklch": {
"l": 0.52936,
"c": 0.19916,
"h": 306.9
},
"luminance": 0.12898
}Semantic roles & 50–950 ramp
primary
#8A3FC3
secondary
#ABCC92
accent
#DC4C8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83