#A74EC2#A74EC2
#A74EC2 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.3% C 0.188 H 317.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A74EC2 |
|---|---|
| RGB | rgb(167, 78, 194) |
| HSL | hsl(286, 49%, 53%) |
| HSV | hsv(286, 60%, 76%) |
| CMYK | cmyk(13.9%, 59.8%, 0%, 23.9%) |
| CIE-LAB | lab(48.96, 54.26, -45.25) |
| CIE-LCH | lch(48.96, 70.66, 320.17°) |
| OKLab | oklab(58.32% 0.1387 -0.1264) |
| OKLCH | oklch(58.32% 0.188 317.6) |
| XYZ | xyz(28.3970, 17.5604, 52.9221) |
| Luminance | 0.1756 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.36
Mediumorchid
#BA55D3
ΔE00 4.84
Purply
#983FB2
ΔE00 5.34
Lightish Purple
#A552E6
ΔE00 5.99
Deep Lavender
#8D5EB7
ΔE00 6.13
Medium Purple
#9E43A2
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74EC2 #69C24E
analogous
#6D4EC2 #A74EC2 #C24EA3
triadic
#A74EC2 #C2A74E #4EC2A7
tetradic
#A74EC2 #C26D4E #69C24E #4EA3C2
square
#A74EC2 #C26D4E #69C24E #4EA3C2
split-complementary
#A74EC2 #A3C24E #4EC26D
monochromatic
#5E266F #85369D #A74EC2 #BE7CD2 #D4A9E1
Accessibility & contrast
On white
4.65
#A74EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#A74EC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A74EC2
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74EC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74EC2 | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6FC6
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#A66181
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a74ec2; /* rgb */ color: rgb(167, 78, 194); /* oklch */ color: oklch(58.3% 0.188 317.6);
Tailwind
colors: {
custom: {
50: '#c484d5',
500: '#a74ec2',
950: '#000000',
},
}SCSS
$custom: #a74ec2; $custom-light: #c484d5; $custom-dark: #000000;
JSON
{
"hex": "#a74ec2",
"rgb": {
"r": 167,
"g": 78,
"b": 194
},
"hsl": {
"h": 286.034,
"s": 48.739,
"l": 53.333
},
"oklch": {
"l": 0.58315,
"c": 0.18764,
"h": 317.6
},
"luminance": 0.17559
}Semantic roles & 50–950 ramp
primary
#A74EC2
secondary
#A9CF9D
accent
#D8506F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83