#AF43B7#AF43B7
#AF43B7 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.4% C 0.197 H 324.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AF43B7 |
|---|---|
| RGB | rgb(175, 67, 183) |
| HSL | hsl(296, 46%, 49%) |
| HSV | hsv(296, 63%, 72%) |
| CMYK | cmyk(4.4%, 63.4%, 0%, 28.2%) |
| CIE-LAB | lab(47.69, 59.10, -40.81) |
| CIE-LCH | lch(47.69, 71.82, 325.38°) |
| OKLab | oklab(57.43% 0.1611 -0.1132) |
| OKLCH | oklch(57.43% 0.197 324.9) |
| XYZ | xyz(28.2329, 16.5488, 46.4977) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.23
Medium Purple
#9E43A2
ΔE00 4.35
Purpley Pink
#C83CB9
ΔE00 4.68
Purply
#983FB2
ΔE00 4.96
Barney
#AC1DB8
ΔE00 5.52
Pinky Purple
#C94CBE
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF43B7 #4BB743
analogous
#7543B7 #AF43B7 #B74385
triadic
#AF43B7 #B7AF43 #43B7AF
tetradic
#AF43B7 #B77543 #4BB743 #4385B7
square
#AF43B7 #B77543 #4BB743 #4385B7
split-complementary
#AF43B7 #85B743 #43B775
monochromatic
#59225D #84338A #AF43B7 #C36DCA #D69ADA
Accessibility & contrast
On white
4.87
#AF43B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#AF43B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF43B7
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF43B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF43B7 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E69BA
Deuteranopia (green-blind)
#5876B4
Tritanopia (blue-blind)
#B35477
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #af43b7; /* rgb */ color: rgb(175, 67, 183); /* oklch */ color: oklch(57.4% 0.197 324.9);
Tailwind
colors: {
custom: {
50: '#ca7fcd',
500: '#af43b7',
950: '#000000',
},
}SCSS
$custom: #af43b7; $custom-light: #ca7fcd; $custom-dark: #000000;
JSON
{
"hex": "#af43b7",
"rgb": {
"r": 175,
"g": 67,
"b": 183
},
"hsl": {
"h": 295.862,
"s": 46.4,
"l": 49.02
},
"oklch": {
"l": 0.5743,
"c": 0.19691,
"h": 324.9
},
"luminance": 0.16547
}Semantic roles & 50–950 ramp
primary
#AF43B7
secondary
#93C690
accent
#D6525B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82