#AF44B2#AF44B2
#AF44B2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.191 H 326.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AF44B2 |
|---|---|
| RGB | rgb(175, 68, 178) |
| HSL | hsl(298, 45%, 48%) |
| HSV | hsv(298, 62%, 70%) |
| CMYK | cmyk(1.7%, 61.8%, 0%, 30.2%) |
| CIE-LAB | lab(47.58, 57.78, -38.05) |
| CIE-LCH | lch(47.58, 69.19, 326.63°) |
| OKLab | oklab(57.27% 0.1597 -0.1052) |
| OKLCH | oklch(57.27% 0.191 326.6) |
| XYZ | xyz(27.7817, 16.4643, 43.8255) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.54
Medium Purple
#9E43A2
ΔE00 3.91
Purpley Pink
#C83CB9
ΔE00 4.50
Purply
#983FB2
ΔE00 5.29
Barney
#AC1DB8
ΔE00 5.88
Pinky Purple
#C94CBE
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF44B2 #47B244
analogous
#7844B2 #AF44B2 #B2447E
triadic
#AF44B2 #B2AF44 #44B2AF
tetradic
#AF44B2 #B27844 #47B244 #447EB2
square
#AF44B2 #B27844 #47B244 #447EB2
split-complementary
#AF44B2 #7EB244 #44B278
monochromatic
#582259 #833386 #AF44B2 #C46CC7 #D699D8
Accessibility & contrast
On white
4.89
#AF44B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#AF44B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF44B2
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF44B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF44B2 | 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)
#3468B5
Deuteranopia (green-blind)
#5B76AF
Tritanopia (blue-blind)
#B45375
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #af44b2; /* rgb */ color: rgb(175, 68, 178); /* oklch */ color: oklch(57.3% 0.191 326.6);
Tailwind
colors: {
custom: {
50: '#ca7fc9',
500: '#af44b2',
950: '#000000',
},
}SCSS
$custom: #af44b2; $custom-light: #ca7fc9; $custom-dark: #000000;
JSON
{
"hex": "#af44b2",
"rgb": {
"r": 175,
"g": 68,
"b": 178
},
"hsl": {
"h": 298.364,
"s": 44.715,
"l": 48.235
},
"oklch": {
"l": 0.57266,
"c": 0.19121,
"h": 326.6
},
"luminance": 0.16463
}Semantic roles & 50–950 ramp
primary
#AF44B2
secondary
#8FC48E
accent
#D45357
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82