#AF36D3#AF36D3
#AF36D3 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.237 H 317.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AF36D3 |
|---|---|
| RGB | rgb(175, 54, 211) |
| HSL | hsl(286, 64%, 52%) |
| HSV | hsv(286, 74%, 83%) |
| CMYK | cmyk(17.1%, 74.4%, 0%, 17.3%) |
| CIE-LAB | lab(47.57, 69.26, -57.21) |
| CIE-LCH | lch(47.57, 89.83, 320.44°) |
| OKLab | oklab(57.88% 0.1733 -0.161) |
| OKLCH | oklch(57.88% 0.237 317.1) |
| XYZ | xyz(30.7545, 16.4568, 63.1719) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 4.21
Darkorchid
#9932CC
ΔE00 4.53
Barney
#AC1DB8
ΔE00 5.46
Bright Purple
#BE03FD
ΔE00 5.50
Hot Purple
#CB00F5
ΔE00 5.55
Neon Purple
#BC13FE
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF36D3 #5AD336
analogous
#6136D3 #AF36D3 #D336A9
triadic
#AF36D3 #D3AF36 #36D3AF
tetradic
#AF36D3 #D36136 #5AD336 #36A9D3
square
#AF36D3 #D36136 #5AD336 #36A9D3
split-complementary
#AF36D3 #A9D336 #36D361
monochromatic
#601A75 #8925A7 #AF36D3 #C368DE #D79AE9
Accessibility & contrast
On white
4.89
#AF36D3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#AF36D3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF36D3
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF36D3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF36D3 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#3974D0
Tritanopia (blue-blind)
#AD5883
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #af36d3; /* rgb */ color: rgb(175, 54, 211); /* oklch */ color: oklch(57.9% 0.237 317.1);
Tailwind
colors: {
custom: {
50: '#cb79e1',
500: '#af36d3',
950: '#000000',
},
}SCSS
$custom: #af36d3; $custom-light: #cb79e1; $custom-dark: #000000;
JSON
{
"hex": "#af36d3",
"rgb": {
"r": 175,
"g": 54,
"b": 211
},
"hsl": {
"h": 286.242,
"s": 64.082,
"l": 51.961
},
"oklch": {
"l": 0.57875,
"c": 0.23657,
"h": 317.1
},
"luminance": 0.16455
}Semantic roles & 50–950 ramp
primary
#AF36D3
secondary
#A0D590
accent
#E74167
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83