#A742CD#A742CD
#A742CD is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.6% C 0.215 H 315.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A742CD |
|---|---|
| RGB | rgb(167, 66, 205) |
| HSL | hsl(284, 58%, 53%) |
| HSV | hsv(284, 68%, 80%) |
| CMYK | cmyk(18.5%, 67.8%, 0%, 19.6%) |
| CIE-LAB | lab(47.65, 61.87, -53.69) |
| CIE-LCH | lch(47.65, 81.92, 319.05°) |
| OKLab | oklab(57.58% 0.1525 -0.151) |
| OKLCH | oklch(57.58% 0.215 315.3) |
| XYZ | xyz(28.9022, 16.5207, 59.4121) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.48
Purply
#983FB2
ΔE00 4.89
Lightish Purple
#A552E6
ΔE00 5.31
Vibrant Purple
#AD03DE
ΔE00 5.51
Barney
#AC1DB8
ΔE00 6.04
Mediumorchid
#BA55D3
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A742CD #68CD42
analogous
#6142CD #A742CD #CD42AD
triadic
#A742CD #CDA742 #42CDA7
tetradic
#A742CD #CD6142 #68CD42 #42ADCD
square
#A742CD #CD6142 #68CD42 #42ADCD
split-complementary
#A742CD #ADCD42 #42CD61
monochromatic
#5E1F76 #852CA6 #A742CD #BE72DA #D4A3E7
Accessibility & contrast
On white
4.88
#A742CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#A742CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A742CD
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A742CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A742CD | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#A45D82
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a742cd; /* rgb */ color: rgb(167, 66, 205); /* oklch */ color: oklch(57.6% 0.215 315.3);
Tailwind
colors: {
custom: {
50: '#c57edd',
500: '#a742cd',
950: '#000000',
},
}SCSS
$custom: #a742cd; $custom-light: #c57edd; $custom-dark: #000000;
JSON
{
"hex": "#a742cd",
"rgb": {
"r": 167,
"g": 66,
"b": 205
},
"hsl": {
"h": 283.597,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.57578,
"c": 0.21458,
"h": 315.3
},
"luminance": 0.1652
}Semantic roles & 50–950 ramp
primary
#A742CD
secondary
#A8D397
accent
#E14671
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83