#A042BF#A042BF
#A042BF is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.8% C 0.199 H 316.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A042BF |
|---|---|
| RGB | rgb(160, 66, 191) |
| HSL | hsl(285, 49%, 50%) |
| HSV | hsv(285, 65%, 75%) |
| CMYK | cmyk(16.2%, 65.4%, 0%, 25.1%) |
| CIE-LAB | lab(45.82, 57.50, -48.58) |
| CIE-LCH | lch(45.82, 75.27, 319.80°) |
| OKLab | oklab(55.78% 0.1446 -0.1363) |
| OKLCH | oklch(55.78% 0.199 316.7) |
| XYZ | xyz(25.8480, 15.1326, 50.8394) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.55
Darkorchid
#9932CC
ΔE00 4.06
Barney
#AC1DB8
ΔE00 4.91
Medium Purple
#9E43A2
ΔE00 5.22
Ugly Purple
#A442A0
ΔE00 6.07
Vibrant Purple
#AD03DE
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A042BF #61BF42
analogous
#6142BF #A042BF #BF429F
triadic
#A042BF #BFA042 #42BFA0
tetradic
#A042BF #BF6142 #61BF42 #429FBF
square
#A042BF #BF6142 #61BF42 #429FBF
split-complementary
#A042BF #9FBF42 #42BF61
monochromatic
#542265 #7A3292 #A042BF #B770CE #CE9DDE
Accessibility & contrast
On white
5.22
#A042BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#A042BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A042BF
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A042BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A042BF | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D67C3
Deuteranopia (green-blind)
#446FBC
Tritanopia (blue-blind)
#9E597B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a042bf; /* rgb */ color: rgb(160, 66, 191); /* oklch */ color: oklch(55.8% 0.199 316.7);
Tailwind
colors: {
custom: {
50: '#bf7dd3',
500: '#a042bf',
950: '#000000',
},
}SCSS
$custom: #a042bf; $custom-light: #bf7dd3; $custom-dark: #000000;
JSON
{
"hex": "#a042bf",
"rgb": {
"r": 160,
"g": 66,
"b": 191
},
"hsl": {
"h": 285.12,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.55783,
"c": 0.19865,
"h": 316.7
},
"luminance": 0.15132
}Semantic roles & 50–950 ramp
primary
#A042BF
secondary
#A0CA93
accent
#D94F71
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83