#CFAFF3#CFAFF3
#CFAFF3 is a light, moderate violet. Relative luminance 0.504; OKLCH L 80.5% C 0.100 H 305.8°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAFF3 |
|---|---|
| RGB | rgb(207, 175, 243) |
| HSL | hsl(268, 74%, 82%) |
| HSV | hsv(268, 28%, 95%) |
| CMYK | cmyk(14.8%, 28%, 0%, 4.7%) |
| CIE-LAB | lab(76.31, 24.33, -29.57) |
| CIE-LCH | lch(76.31, 38.29, 309.45°) |
| OKLab | oklab(80.53% 0.0583 -0.081) |
| OKLCH | oklch(80.53% 0.1 305.8) |
| XYZ | xyz(57.2367, 50.3967, 91.4889) |
| Luminance | 0.5040 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 1.68
Pale Violet
#CEAEFA
ΔE00 1.75
Mauve
#E0B0FF
ΔE00 3.52
Lavender (survey)
#C79FEF
ΔE00 4.27
Lilac (survey)
#CEA2FD
ΔE00 4.75
Light Lavender
#DFC5FE
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAFF3 #D3F3AF
analogous
#AFB1F3 #CFAFF3 #F1AFF3
triadic
#CFAFF3 #F3CFAF #AFF3CF
tetradic
#CFAFF3 #F3AFB1 #D3F3AF #AFF3F1
square
#CFAFF3 #F3AFB1 #D3F3AF #AFF3F1
split-complementary
#CFAFF3 #F3F1AF #B1F3AF
monochromatic
#8F45E3 #AF7AEB #CFAFF3 #EFE4FB #EFE4FB
Accessibility & contrast
On white
1.90
#CFAFF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.08
#CFAFF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAFF3
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAFF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAFF3 | 1.00 | 1.90 | 11.08 | 11.08 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2BBF6
Deuteranopia (green-blind)
#A8BCF1
Tritanopia (blue-blind)
#CAB9C7
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #cfaff3; /* rgb */ color: rgb(207, 175, 243); /* oklch */ color: oklch(80.5% 0.100 305.8);
Tailwind
colors: {
custom: {
50: '#dec7f7',
500: '#cfaff3',
950: '#000000',
},
}SCSS
$custom: #cfaff3; $custom-light: #dec7f7; $custom-dark: #000000;
JSON
{
"hex": "#cfaff3",
"rgb": {
"r": 207,
"g": 175,
"b": 243
},
"hsl": {
"h": 268.235,
"s": 73.913,
"l": 81.961
},
"oklch": {
"l": 0.80528,
"c": 0.09985,
"h": 305.8
},
"luminance": 0.50396
}Semantic roles & 50–950 ramp
primary
#CFAFF3
secondary
#A6D374
accent
#D60F79
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285