#CB7EFB#CB7EFB
#CB7EFB is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.188 H 311.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EFB |
|---|---|
| RGB | rgb(203, 126, 251) |
| HSL | hsl(277, 94%, 74%) |
| HSV | hsv(277, 50%, 98%) |
| CMYK | cmyk(19.1%, 49.8%, 0%, 1.6%) |
| CIE-LAB | lab(65.42, 51.31, -50.94) |
| CIE-LCH | lch(65.42, 72.30, 315.21°) |
| OKLab | oklab(72.33% 0.1235 -0.1423) |
| OKLCH | oklch(72.33% 0.188 311) |
| XYZ | xyz(49.4989, 34.5842, 95.3159) |
| Luminance | 0.3458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.69
Easter Purple
#C071FE
ΔE00 3.77
Liliac
#C48EFD
ΔE00 4.08
Light Urple
#B36FF6
ΔE00 5.66
Bright Lavender
#C760FF
ΔE00 6.33
Bright Lilac
#C95EFB
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EFB #AEFB7E
analogous
#8D7EFB #CB7EFB #FB7EED
triadic
#CB7EFB #FBCB7E #7EFBCB
tetradic
#CB7EFB #FB8D7E #AEFB7E #7EEDFB
square
#CB7EFB #FB8D7E #AEFB7E #7EEDFB
split-complementary
#CB7EFB #EDFB7E #7EFB8D
monochromatic
#9B08F7 #B343F9 #CB7EFB #E3B9FD #F3E1FE
Accessibility & contrast
On white
2.65
#CB7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#CB7EFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EFB
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EFB | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#C593B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cb7efb; /* rgb */ color: rgb(203, 126, 251); /* oklch */ color: oklch(72.3% 0.188 311.0);
Tailwind
colors: {
custom: {
50: '#dda5fd',
500: '#cb7efb',
950: '#000000',
},
}SCSS
$custom: #cb7efb; $custom-light: #dda5fd; $custom-dark: #000000;
JSON
{
"hex": "#cb7efb",
"rgb": {
"r": 203,
"g": 126,
"b": 251
},
"hsl": {
"h": 276.96,
"s": 93.985,
"l": 73.922
},
"oklch": {
"l": 0.72326,
"c": 0.18841,
"h": 311
},
"luminance": 0.34583
}Semantic roles & 50–950 ramp
primary
#CB7EFB
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86