#AF33A1#AF33A1
#AF33A1 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.6% C 0.200 H 332.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF33A1 |
|---|---|
| RGB | rgb(175, 51, 161) |
| HSL | hsl(307, 55%, 44%) |
| HSV | hsv(307, 71%, 69%) |
| CMYK | cmyk(0%, 70.9%, 8%, 31.4%) |
| CIE-LAB | lab(44.31, 61.64, -33.13) |
| CIE-LCH | lch(44.31, 69.98, 331.74°) |
| OKLab | oklab(54.62% 0.1777 -0.0909) |
| OKLCH | oklch(54.62% 0.2 332.9) |
| XYZ | xyz(25.2962, 14.0569, 35.0923) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.64
Medium Purple
#9E43A2
ΔE00 3.63
Barney
#AC1DB8
ΔE00 5.22
Warm Purple
#952E8F
ΔE00 5.67
Purply
#983FB2
ΔE00 6.23
Barney Purple
#A00498
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF33A1 #33AF41
analogous
#7F33AF #AF33A1 #AF3363
triadic
#AF33A1 #A1AF33 #33A1AF
tetradic
#AF33A1 #AF7F33 #33AF41 #3363AF
square
#AF33A1 #AF7F33 #33AF41 #3363AF
split-complementary
#AF33A1 #63AF33 #33AF7F
monochromatic
#50174A #802575 #AF33A1 #CD52BF #DB82D1
Accessibility & contrast
On white
5.51
#AF33A1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#AF33A1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF33A1
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF33A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF33A1 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5DA4
Deuteranopia (green-blind)
#5B6F9E
Tritanopia (blue-blind)
#B73F66
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #af33a1; /* rgb */ color: rgb(175, 51, 161); /* oklch */ color: oklch(54.6% 0.200 332.9);
Tailwind
colors: {
custom: {
50: '#ca76bd',
500: '#af33a1',
950: '#000000',
},
}SCSS
$custom: #af33a1; $custom-light: #ca76bd; $custom-dark: #000000;
JSON
{
"hex": "#af33a1",
"rgb": {
"r": 175,
"g": 51,
"b": 161
},
"hsl": {
"h": 306.774,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.54622,
"c": 0.19955,
"h": 332.9
},
"luminance": 0.14055
}Semantic roles & 50–950 ramp
primary
#AF33A1
secondary
#7AC482
accent
#DE5A4A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81