#AF73BF#AF73BF
#AF73BF is a light, vivid purple. Relative luminance 0.251; OKLCH L 64.6% C 0.128 H 319.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AF73BF |
|---|---|
| RGB | rgb(175, 115, 191) |
| HSL | hsl(287, 37%, 60%) |
| HSV | hsv(287, 40%, 75%) |
| CMYK | cmyk(8.4%, 39.8%, 0%, 25.1%) |
| CIE-LAB | lab(57.21, 36.62, -30.49) |
| CIE-LCH | lch(57.21, 47.65, 320.22°) |
| OKLab | oklab(64.59% 0.0964 -0.0838) |
| OKLCH | oklch(64.59% 0.128 319) |
| XYZ | xyz(33.2127, 25.1380, 52.3827) |
| Luminance | 0.2514 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.43
Wisteria
#A87DC2
ΔE00 3.49
Orchid (survey)
#C875C4
ΔE00 5.05
Dark Lilac
#9C6DA5
ΔE00 5.83
Deep Lilac
#966EBD
ΔE00 5.85
Amethyst
#9B5FC0
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF73BF #83BF73
analogous
#8973BF #AF73BF #BF73A9
triadic
#AF73BF #BFAF73 #73BFAF
tetradic
#AF73BF #BF8973 #83BF73 #73A9BF
square
#AF73BF #BF8973 #83BF73 #73A9BF
split-complementary
#AF73BF #A9BF73 #73BF89
monochromatic
#703A7E #954DA8 #AF73BF #C79DD2 #DFC7E5
Accessibility & contrast
On white
3.48
#AF73BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#AF73BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF73BF
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF73BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF73BF | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6885C2
Deuteranopia (green-blind)
#788BBD
Tritanopia (blue-blind)
#B07C90
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #af73bf; /* rgb */ color: rgb(175, 115, 191); /* oklch */ color: oklch(64.6% 0.128 319.0);
Tailwind
colors: {
custom: {
50: '#c89cd2',
500: '#af73bf',
950: '#000000',
},
}SCSS
$custom: #af73bf; $custom-light: #c89cd2; $custom-dark: #000000;
JSON
{
"hex": "#af73bf",
"rgb": {
"r": 175,
"g": 115,
"b": 191
},
"hsl": {
"h": 287.368,
"s": 37.255,
"l": 60
},
"oklch": {
"l": 0.64592,
"c": 0.12773,
"h": 319
},
"luminance": 0.25137
}Semantic roles & 50–950 ramp
primary
#AF73BF
secondary
#BED6B8
accent
#CD5B73
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82