#8A34C3#8A34C3
#8A34C3 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.7% C 0.212 H 308.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8A34C3 |
|---|---|
| RGB | rgb(138, 52, 195) |
| HSL | hsl(276, 58%, 48%) |
| HSV | hsv(276, 73%, 76%) |
| CMYK | cmyk(29.2%, 73.3%, 0%, 23.5%) |
| CIE-LAB | lab(40.90, 59.68, -58.99) |
| CIE-LCH | lch(40.90, 83.92, 315.33°) |
| OKLab | oklab(51.72% 0.1307 -0.1674) |
| OKLCH | oklch(51.72% 0.212 308) |
| XYZ | xyz(21.5575, 11.7997, 52.7611) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.78
Darkviolet
#9400D3
ΔE00 4.15
Blueviolet
#8A2BE2
ΔE00 4.24
Purply
#983FB2
ΔE00 5.13
Violet (survey)
#9A0EEA
ΔE00 5.45
Vibrant Purple
#AD03DE
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A34C3 #6DC334
analogous
#4234C3 #8A34C3 #C334B4
triadic
#8A34C3 #C38A34 #34C38A
tetradic
#8A34C3 #C34234 #6DC334 #34B4C3
square
#8A34C3 #C34234 #6DC334 #34B4C3
split-complementary
#8A34C3 #B4C334 #34C342
monochromatic
#461A62 #682793 #8A34C3 #A660D5 #C190E1
Accessibility & contrast
On white
6.25
#8A34C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#8A34C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A34C3
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A34C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A34C3 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#815679
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a34c3; /* rgb */ color: rgb(138, 52, 195); /* oklch */ color: oklch(51.7% 0.212 308.0);
Tailwind
colors: {
custom: {
50: '#b174d6',
500: '#8a34c3',
950: '#000000',
},
}SCSS
$custom: #8a34c3; $custom-light: #b174d6; $custom-dark: #000000;
JSON
{
"hex": "#8a34c3",
"rgb": {
"r": 138,
"g": 52,
"b": 195
},
"hsl": {
"h": 276.084,
"s": 57.895,
"l": 48.431
},
"oklch": {
"l": 0.51716,
"c": 0.21239,
"h": 308
},
"luminance": 0.11799
}Semantic roles & 50–950 ramp
primary
#8A34C3
secondary
#A2CC87
accent
#E14784
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83