#A342AF#A342AF
#A342AF is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.185 H 323.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A342AF |
|---|---|
| RGB | rgb(163, 66, 175) |
| HSL | hsl(293, 45%, 47%) |
| HSV | hsv(293, 62%, 69%) |
| CMYK | cmyk(6.9%, 62.3%, 0%, 31.4%) |
| CIE-LAB | lab(45.33, 55.10, -39.96) |
| CIE-LCH | lch(45.33, 68.06, 324.05°) |
| OKLab | oklab(55.23% 0.1481 -0.111) |
| OKLCH | oklch(55.23% 0.185 323.1) |
| XYZ | xyz(24.7896, 14.7794, 42.0961) |
| Luminance | 0.1478 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.35
Purply
#983FB2
ΔE00 2.80
Ugly Purple
#A442A0
ΔE00 3.01
Barney
#AC1DB8
ΔE00 4.70
Darkorchid
#9932CC
ΔE00 6.53
Warm Purple
#952E8F
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A342AF #4EAF42
analogous
#6C42AF #A342AF #AF4285
triadic
#A342AF #AFA342 #42AFA3
tetradic
#A342AF #AF6C42 #4EAF42 #4285AF
square
#A342AF #AF6C42 #4EAF42 #4285AF
split-complementary
#A342AF #85AF42 #42AF6C
monochromatic
#502056 #7A3183 #A342AF #BC68C6 #D095D7
Accessibility & contrast
On white
5.31
#A342AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#A342AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A342AF
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A342AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A342AF | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#526FAC
Tritanopia (blue-blind)
#A65272
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a342af; /* rgb */ color: rgb(163, 66, 175); /* oklch */ color: oklch(55.2% 0.185 323.1);
Tailwind
colors: {
custom: {
50: '#c17dc7',
500: '#a342af',
950: '#000000',
},
}SCSS
$custom: #a342af; $custom-light: #c17dc7; $custom-dark: #000000;
JSON
{
"hex": "#a342af",
"rgb": {
"r": 163,
"g": 66,
"b": 175
},
"hsl": {
"h": 293.394,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.55226,
"c": 0.18508,
"h": 323.1
},
"luminance": 0.14778
}Semantic roles & 50–950 ramp
primary
#A342AF
secondary
#91C28A
accent
#D55361
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82