#CFAFF2#CFAFF2
#CFAFF2 is a light, moderate violet. Relative luminance 0.503; OKLCH L 80.5% C 0.099 H 306.1°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAFF2 |
|---|---|
| RGB | rgb(207, 175, 242) |
| HSL | hsl(269, 72%, 82%) |
| HSV | hsv(269, 28%, 95%) |
| CMYK | cmyk(14.5%, 27.7%, 0%, 5.1%) |
| CIE-LAB | lab(76.28, 24.12, -29.08) |
| CIE-LCH | lch(76.28, 37.78, 309.67°) |
| OKLab | oklab(80.49% 0.0581 -0.0797) |
| OKLCH | oklch(80.49% 0.099 306.1) |
| XYZ | xyz(57.0861, 50.3364, 90.6957) |
| Luminance | 0.5034 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 1.80
Pale Violet
#CEAEFA
ΔE00 1.98
Mauve
#E0B0FF
ΔE00 3.59
Lavender (survey)
#C79FEF
ΔE00 4.36
Lilac (survey)
#CEA2FD
ΔE00 4.92
Light Lavender
#DFC5FE
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAFF2 #D2F2AF
analogous
#AFB1F2 #CFAFF2 #F1AFF2
triadic
#CFAFF2 #F2CFAF #AFF2CF
tetradic
#CFAFF2 #F2AFB1 #D2F2AF #AFF2F1
square
#CFAFF2 #F2AFB1 #D2F2AF #AFF2F1
split-complementary
#CFAFF2 #F2F1AF #B1F2AF
monochromatic
#9046E1 #AF7AE9 #CFAFF2 #EFE4FB #EFE5FB
Accessibility & contrast
On white
1.90
#CFAFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.07
#CFAFF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAFF2
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAFF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAFF2 | 1.00 | 1.90 | 11.07 | 11.07 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3BBF5
Deuteranopia (green-blind)
#A9BCF0
Tritanopia (blue-blind)
#CAB8C7
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #cfaff2; /* rgb */ color: rgb(207, 175, 242); /* oklch */ color: oklch(80.5% 0.099 306.1);
Tailwind
colors: {
custom: {
50: '#dec7f6',
500: '#cfaff2',
950: '#000000',
},
}SCSS
$custom: #cfaff2; $custom-light: #dec7f6; $custom-dark: #000000;
JSON
{
"hex": "#cfaff2",
"rgb": {
"r": 207,
"g": 175,
"b": 242
},
"hsl": {
"h": 268.657,
"s": 72.043,
"l": 81.765
},
"oklch": {
"l": 0.80487,
"c": 0.09858,
"h": 306.1
},
"luminance": 0.50336
}Semantic roles & 50–950 ramp
primary
#CFAFF2
secondary
#A5D174
accent
#D41177
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285