#AFAFDF#AFAFDF
#AFAFDF is a light, moderate blue. Relative luminance 0.451; OKLCH L 77.1% C 0.068 H 284.7°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAFDF |
|---|---|
| RGB | rgb(175, 175, 223) |
| HSL | hsl(240, 43%, 78%) |
| HSV | hsv(240, 22%, 87%) |
| CMYK | cmyk(21.5%, 21.5%, 0%, 12.5%) |
| CIE-LAB | lab(72.96, 10.05, -24.08) |
| CIE-LCH | lch(72.96, 26.09, 292.64°) |
| OKLab | oklab(77.06% 0.0173 -0.066) |
| OKLCH | oklch(77.06% 0.068 284.7) |
| XYZ | xyz(46.3252, 45.1008, 76.0624) |
| Luminance | 0.4510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 6.26
Lavender
#B39DDB
ΔE00 6.73
Periwinkle
#CCCCFF
ΔE00 7.49
Pale Violet
#CEAEFA
ΔE00 8.33
Light Violet
#D6B4FC
ΔE00 9.12
Lavender (survey)
#C79FEF
ΔE00 9.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAFDF #DFDFAF
analogous
#AFC7DF #AFAFDF #C7AFDF
triadic
#AFAFDF #DFAFAF #AFDFAF
tetradic
#AFAFDF #DFAFC7 #DFDFAF #AFDFC7
square
#AFAFDF #DFAFC7 #DFDFAF #AFDFC7
split-complementary
#AFAFDF #DFC7AF #C7DFAF
monochromatic
#5858BC #8383CE #AFAFDF #DBDBF0 #E9E9F6
Accessibility & contrast
On white
2.10
#AFAFDF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.02
#AFAFDF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAFDF
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAFDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAFDF | 1.00 | 2.10 | 10.02 | 10.02 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3B5E1
Deuteranopia (green-blind)
#A1B2DE
Tritanopia (blue-blind)
#A4B7BF
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afafdf; /* rgb */ color: rgb(175, 175, 223); /* oklch */ color: oklch(77.1% 0.068 284.7);
Tailwind
colors: {
custom: {
50: '#c7c6e9',
500: '#afafdf',
950: '#000000',
},
}SCSS
$custom: #afafdf; $custom-light: #c7c6e9; $custom-dark: #000000;
JSON
{
"hex": "#afafdf",
"rgb": {
"r": 175,
"g": 175,
"b": 223
},
"hsl": {
"h": 240,
"s": 42.857,
"l": 78.039
},
"oklch": {
"l": 0.77062,
"c": 0.06822,
"h": 284.7
},
"luminance": 0.45102
}Semantic roles & 50–950 ramp
primary
#AFAFDF
secondary
#EDEDDE
accent
#B630B6
background
#FCFCFE
surface
#F8F8FC
border
#D1D1D5
text
#131316
muted
#828284