#A74EBA#A74EBA
#A74EBA is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.180 H 320.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A74EBA |
|---|---|
| RGB | rgb(167, 78, 186) |
| HSL | hsl(289, 44%, 52%) |
| HSV | hsv(289, 58%, 73%) |
| CMYK | cmyk(10.2%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(48.52, 52.67, -41.30) |
| CIE-LCH | lch(48.52, 66.93, 321.90°) |
| OKLab | oklab(57.86% 0.1383 -0.1149) |
| OKLCH | oklch(57.86% 0.18 320.3) |
| XYZ | xyz(27.5226, 17.2107, 48.3171) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.74
Purply
#983FB2
ΔE00 5.05
Medium Purple
#9E43A2
ΔE00 5.06
Ugly Purple
#A442A0
ΔE00 5.36
Mediumorchid
#BA55D3
ΔE00 5.53
Purpley Pink
#C83CB9
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74EBA #61BA4E
analogous
#714EBA #A74EBA #BA4E97
triadic
#A74EBA #BAA74E #4EBAA7
tetradic
#A74EBA #BA714E #61BA4E #4E97BA
square
#A74EBA #BA714E #61BA4E #4E97BA
split-complementary
#A74EBA #97BA4E #4EBA71
monochromatic
#5B2866 #823992 #A74EBA #BD7ACB #D3A6DC
Accessibility & contrast
On white
4.73
#A74EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#A74EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A74EBA
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74EBA | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#A85E7D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a74eba; /* rgb */ color: rgb(167, 78, 186); /* oklch */ color: oklch(57.9% 0.180 320.3);
Tailwind
colors: {
custom: {
50: '#c484cf',
500: '#a74eba',
950: '#000000',
},
}SCSS
$custom: #a74eba; $custom-light: #c484cf; $custom-dark: #000000;
JSON
{
"hex": "#a74eba",
"rgb": {
"r": 167,
"g": 78,
"b": 186
},
"hsl": {
"h": 289.444,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.57858,
"c": 0.17981,
"h": 320.3
},
"luminance": 0.17209
}Semantic roles & 50–950 ramp
primary
#A74EBA
secondary
#A3CA9A
accent
#D4546B
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82