#AF91CB#AF91CB
#AF91CB is a light, moderate violet. Relative luminance 0.337; OKLCH L 70.4% C 0.089 H 307.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF91CB |
|---|---|
| RGB | rgb(175, 145, 203) |
| HSL | hsl(271, 36%, 68%) |
| HSV | hsv(271, 29%, 80%) |
| CMYK | cmyk(13.8%, 28.6%, 0%, 20.4%) |
| CIE-LAB | lab(64.71, 22.35, -25.69) |
| CIE-LCH | lch(64.71, 34.05, 311.02°) |
| OKLab | oklab(70.45% 0.0546 -0.0703) |
| OKLCH | oklch(70.45% 0.089 307.8) |
| XYZ | xyz(38.5821, 33.6768, 60.9561) |
| Luminance | 0.3368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.47
Lavender
#B39DDB
ΔE00 4.06
Wisteria
#A87DC2
ΔE00 5.95
Heather
#A484AC
ΔE00 6.78
Lavender (survey)
#C79FEF
ΔE00 6.92
Baby Purple
#CA9BF7
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF91CB #ADCB91
analogous
#9291CB #AF91CB #CB91CA
triadic
#AF91CB #CBAF91 #91CBAF
tetradic
#AF91CB #CB9291 #ADCB91 #91CACB
square
#AF91CB #CB9291 #ADCB91 #91CACB
split-complementary
#AF91CB #CACB91 #91CB92
monochromatic
#724899 #9167B7 #AF91CB #CDBBDF #EBE4F2
Accessibility & contrast
On white
2.71
#AF91CB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#AF91CB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF91CB
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF91CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF91CB | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#879CCD
Deuteranopia (green-blind)
#8D9DC9
Tritanopia (blue-blind)
#AB99A6
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #af91cb; /* rgb */ color: rgb(175, 145, 203); /* oklch */ color: oklch(70.4% 0.089 307.8);
Tailwind
colors: {
custom: {
50: '#c7b1db',
500: '#af91cb',
950: '#000000',
},
}SCSS
$custom: #af91cb; $custom-light: #c7b1db; $custom-dark: #000000;
JSON
{
"hex": "#af91cb",
"rgb": {
"r": 175,
"g": 145,
"b": 203
},
"hsl": {
"h": 271.034,
"s": 35.802,
"l": 68.235
},
"oklch": {
"l": 0.70446,
"c": 0.08904,
"h": 307.8
},
"luminance": 0.33677
}Semantic roles & 50–950 ramp
primary
#AF91CB
secondary
#DCE5D3
accent
#AF3771
background
#FCFAFD
surface
#F8F5FB
border
#D1CFD4
text
#131015
muted
#827F83