#A74BBE#A74BBE
#A74BBE is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.188 H 319.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A74BBE |
|---|---|
| RGB | rgb(167, 75, 190) |
| HSL | hsl(288, 47%, 52%) |
| HSV | hsv(288, 61%, 75%) |
| CMYK | cmyk(12.1%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(48.22, 54.88, -44.11) |
| CIE-LCH | lch(48.22, 70.41, 321.21°) |
| OKLab | oklab(57.71% 0.1423 -0.1231) |
| OKLCH | oklch(57.71% 0.188 319.1) |
| XYZ | xyz(27.7455, 16.9665, 50.5186) |
| Luminance | 0.1696 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.61
Amethyst
#9B5FC0
ΔE00 5.03
Medium Purple
#9E43A2
ΔE00 5.33
Mediumorchid
#BA55D3
ΔE00 5.55
Ugly Purple
#A442A0
ΔE00 5.74
Purpley Pink
#C83CB9
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74BBE #62BE4B
analogous
#6E4BBE #A74BBE #BE4B9C
triadic
#A74BBE #BEA74B #4BBEA7
tetradic
#A74BBE #BE6E4B #62BE4B #4B9CBE
square
#A74BBE #BE6E4B #62BE4B #4B9CBE
split-complementary
#A74BBE #9CBE4B #4BBE6E
monochromatic
#5B2669 #833696 #A74BBE #BD78CE #D3A5DE
Accessibility & contrast
On white
4.78
#A74BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#A74BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A74BBE
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74BBE | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6CC2
Deuteranopia (green-blind)
#5276BB
Tritanopia (blue-blind)
#A75E7E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #a74bbe; /* rgb */ color: rgb(167, 75, 190); /* oklch */ color: oklch(57.7% 0.188 319.1);
Tailwind
colors: {
custom: {
50: '#c483d2',
500: '#a74bbe',
950: '#000000',
},
}SCSS
$custom: #a74bbe; $custom-light: #c483d2; $custom-dark: #000000;
JSON
{
"hex": "#a74bbe",
"rgb": {
"r": 167,
"g": 75,
"b": 190
},
"hsl": {
"h": 288,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.57705,
"c": 0.18813,
"h": 319.1
},
"luminance": 0.16965
}Semantic roles & 50–950 ramp
primary
#A74BBE
secondary
#A3CC99
accent
#D7516C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82