#AF91CA#AF91CA
#AF91CA is a light, moderate violet. Relative luminance 0.336; OKLCH L 70.4% C 0.088 H 308.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AF91CA |
|---|---|
| RGB | rgb(175, 145, 202) |
| HSL | hsl(272, 35%, 68%) |
| HSV | hsv(272, 28%, 79%) |
| CMYK | cmyk(13.4%, 28.2%, 0%, 20.8%) |
| CIE-LAB | lab(64.67, 22.13, -25.19) |
| CIE-LCH | lch(64.67, 33.53, 311.30°) |
| OKLab | oklab(70.41% 0.0543 -0.0689) |
| OKLCH | oklch(70.41% 0.088 308.2) |
| XYZ | xyz(38.4633, 33.6293, 60.3305) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.64
Lavender
#B39DDB
ΔE00 4.19
Wisteria
#A87DC2
ΔE00 5.99
Heather
#A484AC
ΔE00 6.57
Lavender (survey)
#C79FEF
ΔE00 7.08
Lilac
#C8A2C8
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF91CA #ACCA91
analogous
#9291CA #AF91CA #CA91C8
triadic
#AF91CA #CAAF91 #91CAAF
tetradic
#AF91CA #CA9291 #ACCA91 #91C8CA
square
#AF91CA #CA9291 #ACCA91 #91C8CA
split-complementary
#AF91CA #C8CA91 #91CA92
monochromatic
#724998 #9168B6 #AF91CA #CDBADE #EBE4F2
Accessibility & contrast
On white
2.72
#AF91CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#AF91CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF91CA
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF91CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF91CA | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#879CCC
Deuteranopia (green-blind)
#8D9DC8
Tritanopia (blue-blind)
#AC99A5
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #af91ca; /* rgb */ color: rgb(175, 145, 202); /* oklch */ color: oklch(70.4% 0.088 308.2);
Tailwind
colors: {
custom: {
50: '#c7b1da',
500: '#af91ca',
950: '#000000',
},
}SCSS
$custom: #af91ca; $custom-light: #c7b1da; $custom-dark: #000000;
JSON
{
"hex": "#af91ca",
"rgb": {
"r": 175,
"g": 145,
"b": 202
},
"hsl": {
"h": 271.579,
"s": 34.969,
"l": 68.039
},
"oklch": {
"l": 0.70405,
"c": 0.08775,
"h": 308.2
},
"luminance": 0.33629
}Semantic roles & 50–950 ramp
primary
#AF91CA
secondary
#DBE4D3
accent
#AE3870
background
#FCFAFD
surface
#F8F5FA
border
#D1CFD3
text
#131014
muted
#827F83