#AF74BB#AF74BB
#AF74BB is a light, vivid purple. Relative luminance 0.252; OKLCH L 64.6% C 0.122 H 320.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AF74BB |
|---|---|
| RGB | rgb(175, 116, 187) |
| HSL | hsl(290, 34%, 59%) |
| HSV | hsv(290, 38%, 73%) |
| CMYK | cmyk(6.4%, 38%, 0%, 26.7%) |
| CIE-LAB | lab(57.26, 35.25, -28.12) |
| CIE-LCH | lch(57.26, 45.09, 321.42°) |
| OKLab | oklab(64.58% 0.094 -0.077) |
| OKLCH | oklch(64.58% 0.122 320.7) |
| XYZ | xyz(32.8931, 25.1936, 50.1342) |
| Luminance | 0.2519 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.32
Wisteria
#A87DC2
ΔE00 3.55
Orchid (survey)
#C875C4
ΔE00 4.88
Dark Lilac
#9C6DA5
ΔE00 5.33
Deep Lilac
#966EBD
ΔE00 6.35
Heather
#A484AC
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF74BB #80BB74
analogous
#8C74BB #AF74BB #BB74A4
triadic
#AF74BB #BBAF74 #74BBAF
tetradic
#AF74BB #BB8C74 #80BB74 #74A4BB
square
#AF74BB #BB8C74 #80BB74 #74A4BB
split-complementary
#AF74BB #A4BB74 #74BB8C
monochromatic
#6F3B79 #944FA2 #AF74BB #C79DCF #DEC6E3
Accessibility & contrast
On white
3.48
#AF74BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#AF74BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF74BB
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF74BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF74BB | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B85BE
Deuteranopia (green-blind)
#7A8CB9
Tritanopia (blue-blind)
#B07C8F
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #af74bb; /* rgb */ color: rgb(175, 116, 187); /* oklch */ color: oklch(64.6% 0.122 320.7);
Tailwind
colors: {
custom: {
50: '#c89dcf',
500: '#af74bb',
950: '#000000',
},
}SCSS
$custom: #af74bb; $custom-light: #c89dcf; $custom-dark: #000000;
JSON
{
"hex": "#af74bb",
"rgb": {
"r": 175,
"g": 116,
"b": 187
},
"hsl": {
"h": 289.859,
"s": 34.3,
"l": 59.412
},
"oklch": {
"l": 0.64577,
"c": 0.12155,
"h": 320.7
},
"luminance": 0.25193
}Semantic roles & 50–950 ramp
primary
#AF74BB
secondary
#BCD3B8
accent
#CA5D70
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82