#A342D4#A342D4
#A342D4 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.5% C 0.220 H 311.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A342D4 |
|---|---|
| RGB | rgb(163, 66, 212) |
| HSL | hsl(280, 63%, 55%) |
| HSV | hsv(280, 69%, 83%) |
| CMYK | cmyk(23.1%, 68.9%, 0%, 16.9%) |
| CIE-LAB | lab(47.54, 62.46, -57.91) |
| CIE-LCH | lch(47.54, 85.17, 317.16°) |
| OKLab | oklab(57.53% 0.1469 -0.1635) |
| OKLCH | oklch(57.53% 0.22 311.9) |
| XYZ | xyz(28.9340, 16.4372, 63.9231) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.03
Lightish Purple
#A552E6
ΔE00 4.59
Vibrant Purple
#AD03DE
ΔE00 5.16
Purply
#983FB2
ΔE00 5.58
Electric Purple
#AA23FF
ΔE00 5.77
Bright Violet
#AD0AFD
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A342D4 #73D442
analogous
#5A42D4 #A342D4 #D442BC
triadic
#A342D4 #D4A342 #42D4A3
tetradic
#A342D4 #D45A42 #73D442 #42BCD4
square
#A342D4 #D45A42 #73D442 #42BCD4
split-complementary
#A342D4 #BCD442 #42D45A
monochromatic
#5E1D7F #8328B1 #A342D4 #BB74DF #D4A6EB
Accessibility & contrast
On white
4.90
#A342D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#A342D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A342D4
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A342D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A342D4 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#3273D1
Tritanopia (blue-blind)
#9D6186
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a342d4; /* rgb */ color: rgb(163, 66, 212); /* oklch */ color: oklch(57.5% 0.220 311.9);
Tailwind
colors: {
custom: {
50: '#c27ee2',
500: '#a342d4',
950: '#000000',
},
}SCSS
$custom: #a342d4; $custom-light: #c27ee2; $custom-dark: #000000;
JSON
{
"hex": "#a342d4",
"rgb": {
"r": 163,
"g": 66,
"b": 212
},
"hsl": {
"h": 279.863,
"s": 62.931,
"l": 54.51
},
"oklch": {
"l": 0.57528,
"c": 0.2198,
"h": 311.9
},
"luminance": 0.16436
}Semantic roles & 50–950 ramp
primary
#A342D4
secondary
#AFD89A
accent
#E64279
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83