#AFAFFD#AFAFFD
#AFAFFD is a light, moderate blue. Relative luminance 0.469; OKLCH L 78.3% C 0.110 H 283.6°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAFFD |
|---|---|
| RGB | rgb(175, 175, 253) |
| HSL | hsl(240, 95%, 84%) |
| HSV | hsv(240, 31%, 99%) |
| CMYK | cmyk(30.8%, 30.8%, 0%, 0.8%) |
| CIE-LAB | lab(74.10, 17.22, -38.59) |
| CIE-LCH | lch(74.10, 42.26, 294.05°) |
| OKLab | oklab(78.33% 0.0259 -0.1073) |
| OKLCH | oklch(78.33% 0.11 283.6) |
| XYZ | xyz(50.7340, 46.8644, 99.2821) |
| Luminance | 0.4687 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 6.60
Pastel Blue
#A2BFFE
ΔE00 7.20
Periwinkle Blue
#8F99FB
ΔE00 7.53
Pale Violet
#CEAEFA
ΔE00 8.04
Lavender
#B39DDB
ΔE00 8.60
Periwinkle
#CCCCFF
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAFFD #FDFDAF
analogous
#AFD6FD #AFAFFD #D6AFFD
triadic
#AFAFFD #FDAFAF #AFFDAF
tetradic
#AFAFFD #FDAFD6 #FDFDAF #AFFDD6
square
#AFAFFD #FDAFD6 #FDFDAF #AFFDD6
split-complementary
#AFAFFD #FDD6AF #D6FDAF
monochromatic
#3838FA #7373FC #AFAFFD #E1E1FE #E1E1FE
Accessibility & contrast
On white
2.02
#AFAFFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.37
#AFAFFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAFFD
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAFFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAFFD | 1.00 | 2.02 | 10.37 | 10.37 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#95B4FB
Tritanopia (blue-blind)
#9BBDCB
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afaffd; /* rgb */ color: rgb(175, 175, 253); /* oklch */ color: oklch(78.3% 0.110 283.6);
Tailwind
colors: {
custom: {
50: '#c8c6fe',
500: '#afaffd',
950: '#000000',
},
}SCSS
$custom: #afaffd; $custom-light: #c8c6fe; $custom-dark: #000000;
JSON
{
"hex": "#afaffd",
"rgb": {
"r": 175,
"g": 175,
"b": 253
},
"hsl": {
"h": 240,
"s": 95.122,
"l": 83.922
},
"oklch": {
"l": 0.78326,
"c": 0.11036,
"h": 283.6
},
"luminance": 0.46866
}Semantic roles & 50–950 ramp
primary
#AFAFFD
secondary
#F6F6D5
accent
#E600E5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286