#CFB2F7#CFB2F7
#CFB2F7 is a light, moderate violet. Relative luminance 0.518; OKLCH L 81.2% C 0.100 H 303.5°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB2F7 |
|---|---|
| RGB | rgb(207, 178, 247) |
| HSL | hsl(265, 81%, 83%) |
| HSV | hsv(265, 28%, 97%) |
| CMYK | cmyk(16.2%, 27.9%, 0%, 3.1%) |
| CIE-LAB | lab(77.17, 23.55, -30.40) |
| CIE-LCH | lch(77.17, 38.45, 307.76°) |
| OKLab | oklab(81.24% 0.0552 -0.0834) |
| OKLCH | oklch(81.24% 0.1 303.5) |
| XYZ | xyz(58.4377, 51.8217, 94.9016) |
| Luminance | 0.5182 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 1.36
Pale Violet
#CEAEFA
ΔE00 1.54
Mauve
#E0B0FF
ΔE00 3.84
Lavender (survey)
#C79FEF
ΔE00 4.88
Lilac (survey)
#CEA2FD
ΔE00 5.03
Light Lavender
#DFC5FE
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB2F7 #DAF7B2
analogous
#B2B7F7 #CFB2F7 #F1B2F7
triadic
#CFB2F7 #F7CFB2 #B2F7CF
tetradic
#CFB2F7 #F7B2B7 #DAF7B2 #B2F7F1
square
#CFB2F7 #F7B2B7 #DAF7B2 #B2F7F1
split-complementary
#CFB2F7 #F7F1B2 #B7F7B2
monochromatic
#8A43EB #AC7BF1 #CFB2F7 #EEE3FC #EEE3FC
Accessibility & contrast
On white
1.85
#CFB2F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.36
#CFB2F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB2F7
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB2F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB2F7 | 1.00 | 1.85 | 11.36 | 11.36 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4BEFA
Deuteranopia (green-blind)
#AABFF5
Tritanopia (blue-blind)
#C9BCCA
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfb2f7; /* rgb */ color: rgb(207, 178, 247); /* oklch */ color: oklch(81.2% 0.100 303.5);
Tailwind
colors: {
custom: {
50: '#dec9fa',
500: '#cfb2f7',
950: '#000000',
},
}SCSS
$custom: #cfb2f7; $custom-light: #dec9fa; $custom-dark: #000000;
JSON
{
"hex": "#cfb2f7",
"rgb": {
"r": 207,
"g": 178,
"b": 247
},
"hsl": {
"h": 265.217,
"s": 81.176,
"l": 83.333
},
"oklch": {
"l": 0.81238,
"c": 0.1,
"h": 303.5
},
"luminance": 0.51822
}Semantic roles & 50–950 ramp
primary
#CFB2F7
secondary
#AFD974
accent
#DE0884
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285