#8A3FC2#8A3FC2
#8A3FC2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.198 H 307.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3FC2 |
|---|---|
| RGB | rgb(138, 63, 194) |
| HSL | hsl(274, 52%, 50%) |
| HSV | hsv(274, 68%, 76%) |
| CMYK | cmyk(28.9%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(42.54, 54.63, -55.75) |
| CIE-LCH | lch(42.54, 78.05, 314.42°) |
| OKLab | oklab(52.86% 0.1196 -0.158) |
| OKLCH | oklch(52.86% 0.198 307.1) |
| XYZ | xyz(21.9943, 12.8536, 52.3508) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.99
Purply
#983FB2
ΔE00 4.41
Blueviolet
#8A2BE2
ΔE00 5.01
Darkviolet
#9400D3
ΔE00 5.95
Violet (survey)
#9A0EEA
ΔE00 6.38
Royal Purple
#7851A9
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3FC2 #77C23F
analogous
#483FC2 #8A3FC2 #C23FB9
triadic
#8A3FC2 #C28A3F #3FC28A
tetradic
#8A3FC2 #C2483F #77C23F #3FB9C2
square
#8A3FC2 #C2483F #77C23F #3FB9C2
split-complementary
#8A3FC2 #B9C23F #3FC248
monochromatic
#482066 #692F95 #8A3FC2 #A66DD1 #C39CE0
Accessibility & contrast
On white
5.88
#8A3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#8A3FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3FC2
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3FC2 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#1E65BF
Tritanopia (blue-blind)
#815C7B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a3fc2; /* rgb */ color: rgb(138, 63, 194); /* oklch */ color: oklch(52.9% 0.198 307.1);
Tailwind
colors: {
custom: {
50: '#b179d5',
500: '#8a3fc2',
950: '#000000',
},
}SCSS
$custom: #8a3fc2; $custom-light: #b179d5; $custom-dark: #000000;
JSON
{
"hex": "#8a3fc2",
"rgb": {
"r": 138,
"g": 63,
"b": 194
},
"hsl": {
"h": 274.351,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.52865,
"c": 0.19811,
"h": 307.1
},
"luminance": 0.12853
}Semantic roles & 50–950 ramp
primary
#8A3FC2
secondary
#AACC91
accent
#DB4D8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83