#A342BB#A342BB
#A342BB is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.196 H 319.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A342BB |
|---|---|
| RGB | rgb(163, 66, 187) |
| HSL | hsl(288, 48%, 50%) |
| HSV | hsv(288, 65%, 73%) |
| CMYK | cmyk(12.8%, 64.7%, 0%, 26.7%) |
| CIE-LAB | lab(46.00, 57.40, -45.92) |
| CIE-LCH | lch(46.00, 73.51, 321.34°) |
| OKLab | oklab(55.93% 0.1483 -0.1284) |
| OKLCH | oklch(55.93% 0.196 319.1) |
| XYZ | xyz(26.0209, 15.2720, 48.5812) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.58
Medium Purple
#9E43A2
ΔE00 4.42
Barney
#AC1DB8
ΔE00 4.65
Darkorchid
#9932CC
ΔE00 4.92
Ugly Purple
#A442A0
ΔE00 5.15
Vibrant Purple
#AD03DE
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A342BB #5ABB42
analogous
#6742BB #A342BB #BB4297
triadic
#A342BB #BBA342 #42BBA3
tetradic
#A342BB #BB6742 #5ABB42 #4297BB
square
#A342BB #BB6742 #5ABB42 #4297BB
split-complementary
#A342BB #97BB42 #42BB67
monochromatic
#542261 #7C328E #A342BB #B96ECC #CF9CDC
Accessibility & contrast
On white
5.18
#A342BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#A342BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A342BB
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A342BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A342BB | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C66BF
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#A35779
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a342bb; /* rgb */ color: rgb(163, 66, 187); /* oklch */ color: oklch(55.9% 0.196 319.1);
Tailwind
colors: {
custom: {
50: '#c17dd0',
500: '#a342bb',
950: '#000000',
},
}SCSS
$custom: #a342bb; $custom-light: #c17dd0; $custom-dark: #000000;
JSON
{
"hex": "#a342bb",
"rgb": {
"r": 163,
"g": 66,
"b": 187
},
"hsl": {
"h": 288.099,
"s": 47.826,
"l": 49.608
},
"oklch": {
"l": 0.55931,
"c": 0.19615,
"h": 319.1
},
"luminance": 0.15271
}Semantic roles & 50–950 ramp
primary
#A342BB
secondary
#9CC891
accent
#D7506B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82