#AF43D2#AF43D2
#AF43D2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.221 H 316.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AF43D2 |
|---|---|
| RGB | rgb(175, 67, 210) |
| HSL | hsl(285, 61%, 54%) |
| HSV | hsv(285, 68%, 82%) |
| CMYK | cmyk(16.7%, 68.1%, 0%, 17.6%) |
| CIE-LAB | lab(49.23, 64.17, -53.96) |
| CIE-LCH | lch(49.23, 83.85, 319.94°) |
| OKLab | oklab(59.04% 0.1608 -0.1516) |
| OKLCH | oklch(59.04% 0.221 316.7) |
| XYZ | xyz(31.3175, 17.7827, 62.7430) |
| Luminance | 0.1778 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.72
Mediumorchid
#BA55D3
ΔE00 4.81
Hot Purple
#CB00F5
ΔE00 5.86
Darkorchid
#9932CC
ΔE00 6.02
Neon Purple
#BC13FE
ΔE00 6.17
Vibrant Purple
#AD03DE
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF43D2 #66D243
analogous
#6843D2 #AF43D2 #D243AD
triadic
#AF43D2 #D2AF43 #43D2AF
tetradic
#AF43D2 #D26843 #66D243 #43ADD2
square
#AF43D2 #D26843 #66D243 #43ADD2
split-complementary
#AF43D2 #ADD243 #43D268
monochromatic
#661E7D #8E2AAE #AF43D2 #C474DE #D9A6EA
Accessibility & contrast
On white
4.61
#AF43D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#AF43D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AF43D2
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF43D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF43D2 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#4578CF
Tritanopia (blue-blind)
#AD5F86
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #af43d2; /* rgb */ color: rgb(175, 67, 210); /* oklch */ color: oklch(59.0% 0.221 316.7);
Tailwind
colors: {
custom: {
50: '#cb80e0',
500: '#af43d2',
950: '#000000',
},
}SCSS
$custom: #af43d2; $custom-light: #cb80e0; $custom-dark: #000000;
JSON
{
"hex": "#af43d2",
"rgb": {
"r": 175,
"g": 67,
"b": 210
},
"hsl": {
"h": 285.315,
"s": 61.373,
"l": 54.314
},
"oklch": {
"l": 0.5904,
"c": 0.22098,
"h": 316.7
},
"luminance": 0.17781
}Semantic roles & 50–950 ramp
primary
#AF43D2
secondary
#A9D79A
accent
#E4436B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83