#CE7BFB#CE7BFB
#CE7BFB is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.2% C 0.194 H 312.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CE7BFB |
|---|---|
| RGB | rgb(206, 123, 251) |
| HSL | hsl(279, 94%, 73%) |
| HSV | hsv(279, 51%, 98%) |
| CMYK | cmyk(17.9%, 51%, 0%, 1.6%) |
| CIE-LAB | lab(65.16, 53.64, -51.33) |
| CIE-LCH | lch(65.16, 74.24, 316.26°) |
| OKLab | oklab(72.21% 0.131 -0.1433) |
| OKLCH | oklch(72.21% 0.194 312.4) |
| XYZ | xyz(49.9461, 34.2539, 95.2287) |
| Luminance | 0.3425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.81
Easter Purple
#C071FE
ΔE00 3.68
Liliac
#C48EFD
ΔE00 4.86
Light Urple
#B36FF6
ΔE00 5.71
Bright Lavender
#C760FF
ΔE00 5.85
Bright Lilac
#C95EFB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE7BFB #A8FB7B
analogous
#8E7BFB #CE7BFB #FB7BE8
triadic
#CE7BFB #FBCE7B #7BFBCE
tetradic
#CE7BFB #FB8E7B #A8FB7B #7BE8FB
square
#CE7BFB #FB8E7B #A8FB7B #7BE8FB
split-complementary
#CE7BFB #E8FB7B #7BFB8E
monochromatic
#A107F4 #B840F9 #CE7BFB #E4B6FD #F4E1FE
Accessibility & contrast
On white
2.67
#CE7BFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#CE7BFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CE7BFB
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE7BFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE7BFB | 1.00 | 2.67 | 7.85 | 7.85 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#C990B0
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ce7bfb; /* rgb */ color: rgb(206, 123, 251); /* oklch */ color: oklch(72.2% 0.194 312.4);
Tailwind
colors: {
custom: {
50: '#dfa4fd',
500: '#ce7bfb',
950: '#000000',
},
}SCSS
$custom: #ce7bfb; $custom-light: #dfa4fd; $custom-dark: #000000;
JSON
{
"hex": "#ce7bfb",
"rgb": {
"r": 206,
"g": 123,
"b": 251
},
"hsl": {
"h": 278.906,
"s": 94.118,
"l": 73.333
},
"oklch": {
"l": 0.72208,
"c": 0.19418,
"h": 312.4
},
"luminance": 0.34253
}Semantic roles & 50–950 ramp
primary
#CE7BFB
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86