#CFB2F2#CFB2F2
#CFB2F2 is a light, moderate violet. Relative luminance 0.515; OKLCH L 81.0% C 0.094 H 305.1°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB2F2 |
|---|---|
| RGB | rgb(207, 178, 242) |
| HSL | hsl(267, 71%, 82%) |
| HSV | hsv(267, 26%, 95%) |
| CMYK | cmyk(14.5%, 26.4%, 0%, 5.1%) |
| CIE-LAB | lab(76.99, 22.48, -27.99) |
| CIE-LCH | lch(76.99, 35.90, 308.78°) |
| OKLab | oklab(81.04% 0.0538 -0.0766) |
| OKLCH | oklch(81.04% 0.094 305.1) |
| XYZ | xyz(57.6764, 51.5172, 90.8925) |
| Luminance | 0.5152 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 1.92
Pale Violet
#CEAEFA
ΔE00 2.52
Mauve
#E0B0FF
ΔE00 4.11
Light Lavender
#DFC5FE
ΔE00 4.71
Lavender (survey)
#C79FEF
ΔE00 5.22
Lilac (survey)
#CEA2FD
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB2F2 #D5F2B2
analogous
#B2B5F2 #CFB2F2 #EFB2F2
triadic
#CFB2F2 #F2CFB2 #B2F2CF
tetradic
#CFB2F2 #F2B2B5 #D5F2B2 #B2F2EF
square
#CFB2F2 #F2B2B5 #D5F2B2 #B2F2EF
split-complementary
#CFB2F2 #F2EFB2 #B5F2B2
monochromatic
#8E49E0 #AE7EE9 #CFB2F2 #EFE5FB #EFE5FB
Accessibility & contrast
On white
1.86
#CFB2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.30
#CFB2F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB2F2
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB2F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB2F2 | 1.00 | 1.86 | 11.30 | 11.30 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6BDF5
Deuteranopia (green-blind)
#ACBEF0
Tritanopia (blue-blind)
#CABBC8
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #cfb2f2; /* rgb */ color: rgb(207, 178, 242); /* oklch */ color: oklch(81.0% 0.094 305.1);
Tailwind
colors: {
custom: {
50: '#dec9f6',
500: '#cfb2f2',
950: '#000000',
},
}SCSS
$custom: #cfb2f2; $custom-light: #dec9f6; $custom-dark: #000000;
JSON
{
"hex": "#cfb2f2",
"rgb": {
"r": 207,
"g": 178,
"b": 242
},
"hsl": {
"h": 267.188,
"s": 71.111,
"l": 82.353
},
"oklch": {
"l": 0.81037,
"c": 0.09358,
"h": 305.1
},
"luminance": 0.51517
}Semantic roles & 50–950 ramp
primary
#CFB2F2
secondary
#A8D177
accent
#D3127C
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285