#AF2BB1#AF2BB1
#AF2BB1 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.220 H 327.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2BB1 |
|---|---|
| RGB | rgb(175, 43, 177) |
| HSL | hsl(299, 61%, 43%) |
| HSV | hsv(299, 76%, 69%) |
| CMYK | cmyk(1.1%, 75.7%, 0%, 30.6%) |
| CIE-LAB | lab(44.26, 66.82, -42.72) |
| CIE-LCH | lch(44.26, 79.31, 327.41°) |
| OKLab | oklab(54.86% 0.1855 -0.1186) |
| OKLCH | oklch(54.86% 0.22 327.4) |
| XYZ | xyz(26.4785, 14.0179, 42.8976) |
| Luminance | 0.1402 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.26
Ugly Purple
#A442A0
ΔE00 4.32
Medium Purple
#9E43A2
ΔE00 4.36
Purply
#983FB2
ΔE00 4.52
Barney Purple
#A00498
ΔE00 6.21
Warm Purple
#952E8F
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2BB1 #2DB12B
analogous
#6C2BB1 #AF2BB1 #B12B70
triadic
#AF2BB1 #B1AF2B #2BB1AF
tetradic
#AF2BB1 #B16C2B #2DB12B #2B70B1
square
#AF2BB1 #B16C2B #2DB12B #2B70B1
split-complementary
#AF2BB1 #70B12B #2BB16C
monochromatic
#4E134F #7E1F80 #AF2BB1 #D047D2 #DD78DE
Accessibility & contrast
On white
5.52
#AF2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#AF2BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2BB1
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2BB1 | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#025EB5
Deuteranopia (green-blind)
#4F6EAE
Tritanopia (blue-blind)
#B4426D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #af2bb1; /* rgb */ color: rgb(175, 43, 177); /* oklch */ color: oklch(54.9% 0.220 327.4);
Tailwind
colors: {
custom: {
50: '#cb73c9',
500: '#af2bb1',
950: '#000000',
},
}SCSS
$custom: #af2bb1; $custom-light: #cb73c9; $custom-dark: #000000;
JSON
{
"hex": "#af2bb1",
"rgb": {
"r": 175,
"g": 43,
"b": 177
},
"hsl": {
"h": 299.104,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.54861,
"c": 0.22018,
"h": 327.4
},
"luminance": 0.14016
}Semantic roles & 50–950 ramp
primary
#AF2BB1
secondary
#73C672
accent
#E44446
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82