#A74BB7#A74BB7
#A74BB7 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.3% C 0.181 H 321.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A74BB7 |
|---|---|
| RGB | rgb(167, 75, 183) |
| HSL | hsl(291, 43%, 51%) |
| HSV | hsv(291, 59%, 72%) |
| CMYK | cmyk(8.7%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(47.84, 53.51, -40.64) |
| CIE-LCH | lch(47.84, 67.19, 322.79°) |
| OKLab | oklab(57.31% 0.142 -0.113) |
| OKLCH | oklch(57.31% 0.181 321.5) |
| XYZ | xyz(26.9987, 16.6678, 46.5856) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.30
Purply
#983FB2
ΔE00 4.50
Ugly Purple
#A442A0
ΔE00 4.58
Amethyst
#9B5FC0
ΔE00 5.47
Purpley Pink
#C83CB9
ΔE00 6.03
Mediumorchid
#BA55D3
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74BB7 #5BB74B
analogous
#714BB7 #A74BB7 #B74B91
triadic
#A74BB7 #B7A74B #4BB7A7
tetradic
#A74BB7 #B7714B #5BB74B #4B91B7
square
#A74BB7 #B7714B #5BB74B #4B91B7
split-complementary
#A74BB7 #91B74B #4BB771
monochromatic
#582761 #80388D #A74BB7 #BC77C8 #D2A2DA
Accessibility & contrast
On white
4.85
#A74BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#A74BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A74BB7
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A74BB7 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#5775B4
Tritanopia (blue-blind)
#A95B7A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a74bb7; /* rgb */ color: rgb(167, 75, 183); /* oklch */ color: oklch(57.3% 0.181 321.5);
Tailwind
colors: {
custom: {
50: '#c482cd',
500: '#a74bb7',
950: '#000000',
},
}SCSS
$custom: #a74bb7; $custom-light: #c482cd; $custom-dark: #000000;
JSON
{
"hex": "#a74bb7",
"rgb": {
"r": 167,
"g": 75,
"b": 183
},
"hsl": {
"h": 291.111,
"s": 42.857,
"l": 50.588
},
"oklch": {
"l": 0.57306,
"c": 0.18143,
"h": 321.5
},
"luminance": 0.16667
}Semantic roles & 50–950 ramp
primary
#A74BB7
secondary
#9EC797
accent
#D35568
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82