#AF98BF#AF98BF
#AF98BF is a light, moderate violet. Relative luminance 0.353; OKLCH L 71.3% C 0.061 H 311.3°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AF98BF |
|---|---|
| RGB | rgb(175, 152, 191) |
| HSL | hsl(275, 23%, 67%) |
| HSV | hsv(275, 20%, 75%) |
| CMYK | cmyk(8.4%, 20.4%, 0%, 25.1%) |
| CIE-LAB | lab(66.01, 15.86, -17.00) |
| CIE-LCH | lch(66.01, 23.25, 313.02°) |
| OKLab | oklab(71.3% 0.0404 -0.046) |
| OKLCH | oklch(71.3% 0.061 311.3) |
| XYZ | xyz(38.3098, 35.3323, 54.0817) |
| Luminance | 0.3533 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 5.67
Heather
#A484AC
ΔE00 6.22
Lavender
#B39DDB
ΔE00 6.47
Dusty Lavender
#AC86A8
ΔE00 6.66
Pale Purple
#B790D4
ΔE00 7.02
Wisteria
#A87DC2
ΔE00 9.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF98BF #A8BF98
analogous
#9C98BF #AF98BF #BF98BB
triadic
#AF98BF #BFAF98 #98BFAF
tetradic
#AF98BF #BF9C98 #A8BF98 #98BBBF
square
#AF98BF #BF9C98 #A8BF98 #98BBBF
split-complementary
#AF98BF #BBBF98 #98BF9C
monochromatic
#735588 #9272A8 #AF98BF #CCBED6 #EAE3EE
Accessibility & contrast
On white
2.60
#AF98BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#AF98BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF98BF
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF98BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF98BF | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#929FC1
Deuteranopia (green-blind)
#97A1BE
Tritanopia (blue-blind)
#AE9DA5
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #af98bf; /* rgb */ color: rgb(175, 152, 191); /* oklch */ color: oklch(71.3% 0.061 311.3);
Tailwind
colors: {
custom: {
50: '#c7b6d2',
500: '#af98bf',
950: '#000000',
},
}SCSS
$custom: #af98bf; $custom-light: #c7b6d2; $custom-dark: #000000;
JSON
{
"hex": "#af98bf",
"rgb": {
"r": 175,
"g": 152,
"b": 191
},
"hsl": {
"h": 275.385,
"s": 23.353,
"l": 67.255
},
"oklch": {
"l": 0.71305,
"c": 0.06126,
"h": 311.3
},
"luminance": 0.35332
}Semantic roles & 50–950 ramp
primary
#AF98BF
secondary
#D8E0D3
accent
#A2446A
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082