#A74EC0#A74EC0
#A74EC0 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.2% C 0.186 H 318.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A74EC0 |
|---|---|
| RGB | rgb(167, 78, 192) |
| HSL | hsl(287, 48%, 53%) |
| HSV | hsv(287, 59%, 75%) |
| CMYK | cmyk(13%, 59.4%, 0%, 24.7%) |
| CIE-LAB | lab(48.85, 53.86, -44.27) |
| CIE-LCH | lch(48.85, 69.72, 320.58°) |
| OKLab | oklab(58.2% 0.1386 -0.1235) |
| OKLCH | oklch(58.2% 0.186 318.3) |
| XYZ | xyz(28.1739, 17.4712, 51.7472) |
| Luminance | 0.1747 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.42
Mediumorchid
#BA55D3
ΔE00 4.99
Purply
#983FB2
ΔE00 5.23
Medium Purple
#9E43A2
ΔE00 5.92
Deep Lavender
#8D5EB7
ΔE00 6.13
Ugly Purple
#A442A0
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74EC0 #67C04E
analogous
#6E4EC0 #A74EC0 #C04EA0
triadic
#A74EC0 #C0A74E #4EC0A7
tetradic
#A74EC0 #C06E4E #67C04E #4EA0C0
square
#A74EC0 #C06E4E #67C04E #4EA0C0
split-complementary
#A74EC0 #A0C04E #4EC06E
monochromatic
#5D276D #84379A #A74EC0 #BD7BD0 #D4A8E0
Accessibility & contrast
On white
4.67
#A74EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#A74EC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A74EC0
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74EC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74EC0 | 1.00 | 4.67 | 4.49 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316EC4
Deuteranopia (green-blind)
#5377BD
Tritanopia (blue-blind)
#A76180
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a74ec0; /* rgb */ color: rgb(167, 78, 192); /* oklch */ color: oklch(58.2% 0.186 318.3);
Tailwind
colors: {
custom: {
50: '#c484d3',
500: '#a74ec0',
950: '#000000',
},
}SCSS
$custom: #a74ec0; $custom-light: #c484d3; $custom-dark: #000000;
JSON
{
"hex": "#a74ec0",
"rgb": {
"r": 167,
"g": 78,
"b": 192
},
"hsl": {
"h": 286.842,
"s": 47.5,
"l": 52.941
},
"oklch": {
"l": 0.58199,
"c": 0.18567,
"h": 318.3
},
"luminance": 0.1747
}Semantic roles & 50–950 ramp
primary
#A74EC0
secondary
#A7CE9C
accent
#D7516E
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83