#A74EC8#A74EC8
#A74EC8 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.7% C 0.194 H 315.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A74EC8 |
|---|---|
| RGB | rgb(167, 78, 200) |
| HSL | hsl(284, 53%, 55%) |
| HSV | hsv(284, 61%, 78%) |
| CMYK | cmyk(16.5%, 61%, 0%, 21.6%) |
| CIE-LAB | lab(49.30, 55.49, -48.18) |
| CIE-LCH | lch(49.30, 73.48, 319.03°) |
| OKLab | oklab(58.67% 0.1388 -0.1349) |
| OKLCH | oklch(58.67% 0.194 315.8) |
| XYZ | xyz(29.0845, 17.8354, 56.5429) |
| Luminance | 0.1783 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.37
Mediumorchid
#BA55D3
ΔE00 4.55
Lightish Purple
#A552E6
ΔE00 4.97
Purply
#983FB2
ΔE00 5.79
Deep Lavender
#8D5EB7
ΔE00 6.23
Darkorchid
#9932CC
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74EC8 #6FC84E
analogous
#6A4EC8 #A74EC8 #C84EAC
triadic
#A74EC8 #C8A74E #4EC8A7
tetradic
#A74EC8 #C86A4E #6FC84E #4EACC8
square
#A74EC8 #C86A4E #6FC84E #4EACC8
split-complementary
#A74EC8 #ACC84E #4EC86A
monochromatic
#612577 #8733A5 #A74EC8 #BE7DD7 #D5ABE5
Accessibility & contrast
On white
4.60
#A74EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#A74EC8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A74EC8
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74EC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74EC8 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2770CC
Deuteranopia (green-blind)
#4E78C5
Tritanopia (blue-blind)
#A56384
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a74ec8; /* rgb */ color: rgb(167, 78, 200); /* oklch */ color: oklch(58.7% 0.194 315.8);
Tailwind
colors: {
custom: {
50: '#c485d9',
500: '#a74ec8',
950: '#000000',
},
}SCSS
$custom: #a74ec8; $custom-light: #c485d9; $custom-dark: #000000;
JSON
{
"hex": "#a74ec8",
"rgb": {
"r": 167,
"g": 78,
"b": 200
},
"hsl": {
"h": 283.77,
"s": 52.586,
"l": 54.51
},
"oklch": {
"l": 0.58669,
"c": 0.19358,
"h": 315.8
},
"luminance": 0.17834
}Semantic roles & 50–950 ramp
primary
#A74EC8
secondary
#ADD39F
accent
#DC4C73
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B15
muted
#827C83