#AF8FBB#AF8FBB
#AF8FBB is a light, moderate purple. Relative luminance 0.323; OKLCH L 69.4% C 0.073 H 316.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8FBB |
|---|---|
| RGB | rgb(175, 143, 187) |
| HSL | hsl(284, 24%, 65%) |
| HSV | hsv(284, 24%, 73%) |
| CMYK | cmyk(6.4%, 23.5%, 0%, 26.7%) |
| CIE-LAB | lab(63.63, 20.10, -18.36) |
| CIE-LCH | lch(63.63, 27.23, 317.59°) |
| OKLab | oklab(69.43% 0.0528 -0.0497) |
| OKLCH | oklch(69.43% 0.073 316.7) |
| XYZ | xyz(36.4700, 32.3473, 51.3265) |
| Luminance | 0.3235 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heather
#A484AC
ΔE00 3.86
Dusty Lavender
#AC86A8
ΔE00 4.59
Pale Purple
#B790D4
ΔE00 5.78
Lilac
#C8A2C8
ΔE00 6.53
Wisteria
#A87DC2
ΔE00 7.20
Lavender
#B39DDB
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8FBB #9BBB8F
analogous
#998FBB #AF8FBB #BB8FB1
triadic
#AF8FBB #BBAF8F #8FBBAF
tetradic
#AF8FBB #BB998F #9BBB8F #8FB1BB
square
#AF8FBB #BB998F #9BBB8F #8FB1BB
split-complementary
#AF8FBB #B1BB8F #8FBB99
monochromatic
#734E81 #9469A4 #AF8FBB #CAB5D2 #E5DBE9
Accessibility & contrast
On white
2.81
#AF8FBB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#AF8FBB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF8FBB
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8FBB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8FBB | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A98BD
Deuteranopia (green-blind)
#909BBA
Tritanopia (blue-blind)
#AF949E
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af8fbb; /* rgb */ color: rgb(175, 143, 187); /* oklch */ color: oklch(69.4% 0.073 316.7);
Tailwind
colors: {
custom: {
50: '#c7b0cf',
500: '#af8fbb',
950: '#000000',
},
}SCSS
$custom: #af8fbb; $custom-light: #c7b0cf; $custom-dark: #000000;
JSON
{
"hex": "#af8fbb",
"rgb": {
"r": 175,
"g": 143,
"b": 187
},
"hsl": {
"h": 283.636,
"s": 24.444,
"l": 64.706
},
"oklch": {
"l": 0.69427,
"c": 0.07255,
"h": 316.7
},
"luminance": 0.32347
}Semantic roles & 50–950 ramp
primary
#AF8FBB
secondary
#CFDACB
accent
#A3435D
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131013
muted
#827F82