#AFAFF2#AFAFF2
#AFAFF2 is a light, moderate blue. Relative luminance 0.462; OKLCH L 77.8% C 0.095 H 284.0°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAFF2 |
|---|---|
| RGB | rgb(175, 175, 242) |
| HSL | hsl(240, 72%, 82%) |
| HSV | hsv(240, 28%, 95%) |
| CMYK | cmyk(27.7%, 27.7%, 0%, 5.1%) |
| CIE-LAB | lab(73.66, 14.52, -33.32) |
| CIE-LCH | lch(73.66, 36.35, 293.54°) |
| OKLab | oklab(77.84% 0.023 -0.0922) |
| OKLCH | oklch(77.84% 0.095 284) |
| XYZ | xyz(49.0320, 46.1836, 90.3182) |
| Luminance | 0.4618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.93
Lavender
#B39DDB
ΔE00 7.36
Pale Violet
#CEAEFA
ΔE00 7.54
Periwinkle
#CCCCFF
ΔE00 7.86
Pastel Blue
#A2BFFE
ΔE00 7.86
Periwinkle Blue
#8F99FB
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAFF2 #F2F2AF
analogous
#AFD1F2 #AFAFF2 #D1AFF2
triadic
#AFAFF2 #F2AFAF #AFF2AF
tetradic
#AFAFF2 #F2AFD1 #F2F2AF #AFF2D1
square
#AFAFF2 #F2AFD1 #F2F2AF #AFF2D1
split-complementary
#AFAFF2 #F2D1AF #D1F2AF
monochromatic
#4646E1 #7A7AE9 #AFAFF2 #E4E4FB #E5E5FB
Accessibility & contrast
On white
2.05
#AFAFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.24
#AFAFF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAFF2
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAFF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAFF2 | 1.00 | 2.05 | 10.24 | 10.24 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9CB7F5
Deuteranopia (green-blind)
#9AB3F0
Tritanopia (blue-blind)
#9FBBC7
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afaff2; /* rgb */ color: rgb(175, 175, 242); /* oklch */ color: oklch(77.8% 0.095 284.0);
Tailwind
colors: {
custom: {
50: '#c8c6f6',
500: '#afaff2',
950: '#000000',
},
}SCSS
$custom: #afaff2; $custom-light: #c8c6f6; $custom-dark: #000000;
JSON
{
"hex": "#afaff2",
"rgb": {
"r": 175,
"g": 175,
"b": 242
},
"hsl": {
"h": 240,
"s": 72.043,
"l": 81.765
},
"oklch": {
"l": 0.77843,
"c": 0.09501,
"h": 284
},
"luminance": 0.46185
}Semantic roles & 50–950 ramp
primary
#AFAFF2
secondary
#F2F2D9
accent
#D411D4
background
#FCFCFF
surface
#F8F8FE
border
#D1D1D6
text
#131317
muted
#828285