#CFBAF2#CFBAF2
#CFBAF2 is a very light, moderate violet. Relative luminance 0.548; OKLCH L 82.5% C 0.080 H 301.8°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CFBAF2 |
|---|---|
| RGB | rgb(207, 186, 242) |
| HSL | hsl(263, 68%, 84%) |
| HSV | hsv(263, 23%, 95%) |
| CMYK | cmyk(14.5%, 23.1%, 0%, 5.1%) |
| CIE-LAB | lab(78.92, 18.13, -25.03) |
| CIE-LCH | lch(78.92, 30.91, 305.92°) |
| OKLab | oklab(82.53% 0.0424 -0.0683) |
| OKLCH | oklch(82.53% 0.08 301.8) |
| XYZ | xyz(59.3148, 54.7940, 91.4386) |
| Luminance | 0.5479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Lavender
#DFC5FE
ΔE00 3.23
Light Violet
#D6B4FC
ΔE00 3.75
Pale Lilac
#E4CBFF
ΔE00 4.62
Pale Violet
#CEAEFA
ΔE00 4.68
Light Lilac
#EDC8FF
ΔE00 5.89
Mauve
#E0B0FF
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFBAF2 #DDF2BA
analogous
#BAC1F2 #CFBAF2 #EBBAF2
triadic
#CFBAF2 #F2CFBA #BAF2CF
tetradic
#CFBAF2 #F2BAC1 #DDF2BA #BAF2EB
square
#CFBAF2 #F2BAC1 #DDF2BA #BAF2EB
split-complementary
#CFBAF2 #F2EBBA #C1F2BA
monochromatic
#8753DF #AB87E8 #CFBAF2 #EDE5FA #EDE5FA
Accessibility & contrast
On white
1.76
#CFBAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.96
#CFBAF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFBAF2
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFBAF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFBAF2 | 1.00 | 1.76 | 11.96 | 11.96 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFC3F4
Deuteranopia (green-blind)
#B3C3F0
Tritanopia (blue-blind)
#C9C2CD
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfbaf2; /* rgb */ color: rgb(207, 186, 242); /* oklch */ color: oklch(82.5% 0.080 301.8);
Tailwind
colors: {
custom: {
50: '#decef6',
500: '#cfbaf2',
950: '#000000',
},
}SCSS
$custom: #cfbaf2; $custom-light: #decef6; $custom-dark: #000000;
JSON
{
"hex": "#cfbaf2",
"rgb": {
"r": 207,
"g": 186,
"b": 242
},
"hsl": {
"h": 262.5,
"s": 68.293,
"l": 83.922
},
"oklch": {
"l": 0.82526,
"c": 0.08038,
"h": 301.8
},
"luminance": 0.54794
}Semantic roles & 50–950 ramp
primary
#CFBAF2
secondary
#B2D27F
accent
#D0158A
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#151317
muted
#848385