#AF91C1#AF91C1
#AF91C1 is a light, moderate violet. Relative luminance 0.332; OKLCH L 70.0% C 0.076 H 312.6°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AF91C1 |
|---|---|
| RGB | rgb(175, 145, 193) |
| HSL | hsl(278, 28%, 66%) |
| HSV | hsv(278, 25%, 76%) |
| CMYK | cmyk(9.3%, 24.9%, 0%, 24.3%) |
| CIE-LAB | lab(64.33, 20.22, -20.66) |
| CIE-LCH | lch(64.33, 28.90, 314.38°) |
| OKLab | oklab(70.04% 0.0516 -0.0562) |
| OKLCH | oklch(70.04% 0.076 312.6) |
| XYZ | xyz(37.4286, 33.2155, 54.8812) |
| Luminance | 0.3322 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.60
Heather
#A484AC
ΔE00 4.93
Lavender
#B39DDB
ΔE00 5.82
Dusty Lavender
#AC86A8
ΔE00 6.05
Lilac
#C8A2C8
ΔE00 6.72
Wisteria
#A87DC2
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF91C1 #A3C191
analogous
#9791C1 #AF91C1 #C191BB
triadic
#AF91C1 #C1AF91 #91C1AF
tetradic
#AF91C1 #C19791 #A3C191 #91BBC1
square
#AF91C1 #C19791 #A3C191 #91BBC1
split-complementary
#AF91C1 #BBC191 #91C197
monochromatic
#734E8A #936AAB #AF91C1 #CBB8D7 #E8DFED
Accessibility & contrast
On white
2.75
#AF91C1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#AF91C1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF91C1
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF91C1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF91C1 | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A9AC3
Deuteranopia (green-blind)
#909DBF
Tritanopia (blue-blind)
#AE97A2
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #af91c1; /* rgb */ color: rgb(175, 145, 193); /* oklch */ color: oklch(70.0% 0.076 312.6);
Tailwind
colors: {
custom: {
50: '#c7b1d3',
500: '#af91c1',
950: '#000000',
},
}SCSS
$custom: #af91c1; $custom-light: #c7b1d3; $custom-dark: #000000;
JSON
{
"hex": "#af91c1",
"rgb": {
"r": 175,
"g": 145,
"b": 193
},
"hsl": {
"h": 277.5,
"s": 27.907,
"l": 66.275
},
"oklch": {
"l": 0.7004,
"c": 0.07631,
"h": 312.6
},
"luminance": 0.33215
}Semantic roles & 50–950 ramp
primary
#AF91C1
secondary
#D5DFCF
accent
#A73F66
background
#FCFAFC
surface
#F8F5F9
border
#D1CFD2
text
#131014
muted
#827F82