#CFB3FB#CFB3FB
#CFB3FB is a light, moderate violet. Relative luminance 0.525; OKLCH L 81.6% C 0.104 H 302.0°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB3FB |
|---|---|
| RGB | rgb(207, 179, 251) |
| HSL | hsl(263, 90%, 84%) |
| HSV | hsv(263, 29%, 98%) |
| CMYK | cmyk(17.5%, 28.7%, 0%, 1.6%) |
| CIE-LAB | lab(77.56, 23.87, -31.96) |
| CIE-LCH | lch(77.56, 39.89, 306.76°) |
| OKLab | oklab(81.58% 0.0548 -0.0878) |
| OKLCH | oklch(81.58% 0.104 302) |
| XYZ | xyz(59.2612, 52.4706, 98.2539) |
| Luminance | 0.5247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.36
Light Violet
#D6B4FC
ΔE00 1.52
Mauve
#E0B0FF
ΔE00 4.02
Lilac (survey)
#CEA2FD
ΔE00 4.90
Lavender (survey)
#C79FEF
ΔE00 5.06
Light Lavender
#DFC5FE
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB3FB #DFFBB3
analogous
#B3BBFB #CFB3FB #F3B3FB
triadic
#CFB3FB #FBCFB3 #B3FBCF
tetradic
#CFB3FB #FBB3BB #DFFBB3 #B3FBF3
square
#CFB3FB #FBB3BB #DFFBB3 #B3FBF3
split-complementary
#CFB3FB #FBF3B3 #BBFBB3
monochromatic
#863FF5 #AA79F8 #CFB3FB #EDE2FD #EDE2FD
Accessibility & contrast
On white
1.83
#CFB3FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.49
#CFB3FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB3FB
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB3FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB3FB | 1.00 | 1.83 | 11.49 | 11.49 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4BFFE
Deuteranopia (green-blind)
#A9BFF9
Tritanopia (blue-blind)
#C8BECD
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfb3fb; /* rgb */ color: rgb(207, 179, 251); /* oklch */ color: oklch(81.6% 0.104 302.0);
Tailwind
colors: {
custom: {
50: '#decafd',
500: '#cfb3fb',
950: '#000000',
},
}SCSS
$custom: #cfb3fb; $custom-light: #decafd; $custom-dark: #000000;
JSON
{
"hex": "#cfb3fb",
"rgb": {
"r": 207,
"g": 179,
"b": 251
},
"hsl": {
"h": 263.333,
"s": 90,
"l": 84.314
},
"oklch": {
"l": 0.81585,
"c": 0.10354,
"h": 302
},
"luminance": 0.52471
}Semantic roles & 50–950 ramp
primary
#CFB3FB
secondary
#B5DF73
accent
#E6008C
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285