#A34FE2#A34FE2
#A34FE2 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.217 H 307.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A34FE2 |
|---|---|
| RGB | rgb(163, 79, 226) |
| HSL | hsl(274, 72%, 60%) |
| HSV | hsv(274, 65%, 89%) |
| CMYK | cmyk(27.9%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(50.53, 59.68, -61.06) |
| CIE-LCH | lch(50.53, 85.38, 314.35°) |
| OKLab | oklab(59.96% 0.1317 -0.1728) |
| OKLCH | oklch(59.96% 0.217 307.3) |
| XYZ | xyz(31.6248, 18.8699, 73.9130) |
| Luminance | 0.1887 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.04
Lighter Purple
#A55AF4
ΔE00 3.85
Purpley
#8756E4
ΔE00 5.18
Electric Purple
#AA23FF
ΔE00 5.93
Mediumorchid
#BA55D3
ΔE00 5.96
Neon Purple
#BC13FE
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A34FE2 #8EE24F
analogous
#5A4FE2 #A34FE2 #E24FD7
triadic
#A34FE2 #E2A34F #4FE2A3
tetradic
#A34FE2 #E25A4F #8EE24F #4FD7E2
square
#A34FE2 #E25A4F #8EE24F #4FD7E2
split-complementary
#A34FE2 #D7E24F #4FE25A
monochromatic
#651A9D #8622D1 #A34FE2 #BE84EB #DAB8F3
Accessibility & contrast
On white
4.40
#A34FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#A34FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A34FE2
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A34FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A34FE2 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#2F79DF
Tritanopia (blue-blind)
#996E92
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #a34fe2; /* rgb */ color: rgb(163, 79, 226); /* oklch */ color: oklch(60.0% 0.217 307.3);
Tailwind
colors: {
custom: {
50: '#c386ec',
500: '#a34fe2',
950: '#000000',
},
}SCSS
$custom: #a34fe2; $custom-light: #c386ec; $custom-dark: #000000;
JSON
{
"hex": "#a34fe2",
"rgb": {
"r": 163,
"g": 79,
"b": 226
},
"hsl": {
"h": 274.286,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.59961,
"c": 0.21727,
"h": 307.3
},
"luminance": 0.18869
}Semantic roles & 50–950 ramp
primary
#A34FE2
secondary
#C2E3AA
accent
#EE3987
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84