#AF70BB#AF70BB
#AF70BB is a light, vivid purple. Relative luminance 0.243; OKLCH L 63.9% C 0.129 H 321.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AF70BB |
|---|---|
| RGB | rgb(175, 112, 187) |
| HSL | hsl(290, 36%, 59%) |
| HSV | hsv(290, 40%, 73%) |
| CMYK | cmyk(6.4%, 40.1%, 0%, 26.7%) |
| CIE-LAB | lab(56.38, 37.45, -29.49) |
| CIE-LCH | lch(56.38, 47.67, 321.78°) |
| OKLab | oklab(63.91% 0.1 -0.0809) |
| OKLCH | oklch(63.91% 0.129 321) |
| XYZ | xyz(32.4419, 24.2913, 49.9838) |
| Luminance | 0.2429 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 1.94
Wisteria
#A87DC2
ΔE00 4.39
Orchid (survey)
#C875C4
ΔE00 5.09
Dark Lilac
#9C6DA5
ΔE00 5.25
Deep Lilac
#966EBD
ΔE00 6.04
Amethyst
#9B5FC0
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF70BB #7CBB70
analogous
#8970BB #AF70BB #BB70A1
triadic
#AF70BB #BBAF70 #70BBAF
tetradic
#AF70BB #BB8970 #7CBB70 #70A1BB
square
#AF70BB #BB8970 #7CBB70 #70A1BB
split-complementary
#AF70BB #A1BB70 #70BB89
monochromatic
#6E3978 #944DA1 #AF70BB #C699CF #DDC3E2
Accessibility & contrast
On white
3.58
#AF70BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#AF70BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF70BB
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF70BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF70BB | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6683BE
Deuteranopia (green-blind)
#778AB9
Tritanopia (blue-blind)
#B1798D
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #af70bb; /* rgb */ color: rgb(175, 112, 187); /* oklch */ color: oklch(63.9% 0.129 321.0);
Tailwind
colors: {
custom: {
50: '#c89acf',
500: '#af70bb',
950: '#000000',
},
}SCSS
$custom: #af70bb; $custom-light: #c89acf; $custom-dark: #000000;
JSON
{
"hex": "#af70bb",
"rgb": {
"r": 175,
"g": 112,
"b": 187
},
"hsl": {
"h": 290.4,
"s": 35.545,
"l": 58.627
},
"oklch": {
"l": 0.63911,
"c": 0.12866,
"h": 321
},
"luminance": 0.2429
}Semantic roles & 50–950 ramp
primary
#AF70BB
secondary
#B9D2B5
accent
#CC5C6E
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82