#CB7EFD#CB7EFD
#CB7EFD is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.4% C 0.191 H 310.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EFD |
|---|---|
| RGB | rgb(203, 126, 253) |
| HSL | hsl(276, 97%, 74%) |
| HSV | hsv(276, 50%, 99%) |
| CMYK | cmyk(19.8%, 50.2%, 0%, 0.8%) |
| CIE-LAB | lab(65.52, 51.74, -51.88) |
| CIE-LCH | lch(65.52, 73.27, 314.92°) |
| OKLab | oklab(72.43% 0.1237 -0.145) |
| OKLCH | oklch(72.43% 0.191 310.5) |
| XYZ | xyz(49.8158, 34.7110, 96.9851) |
| Luminance | 0.3471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.68
Easter Purple
#C071FE
ΔE00 3.67
Liliac
#C48EFD
ΔE00 4.04
Light Urple
#B36FF6
ΔE00 5.61
Bright Lavender
#C760FF
ΔE00 6.28
Bright Lilac
#C95EFB
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EFD #B0FD7E
analogous
#8C7EFD #CB7EFD #FD7EF0
triadic
#CB7EFD #FDCB7E #7EFDCB
tetradic
#CB7EFD #FD8C7E #B0FD7E #7EF0FD
square
#CB7EFD #FD8C7E #B0FD7E #7EF0FD
split-complementary
#CB7EFD #F0FD7E #7EFD8C
monochromatic
#9A05FB #B342FC #CB7EFD #E3BAFE #F3E1FF
Accessibility & contrast
On white
2.64
#CB7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#CB7EFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EFD
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EFD | 1.00 | 2.64 | 7.94 | 7.94 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#74A1FA
Tritanopia (blue-blind)
#C593B2
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cb7efd; /* rgb */ color: rgb(203, 126, 253); /* oklch */ color: oklch(72.4% 0.191 310.5);
Tailwind
colors: {
custom: {
50: '#dda5fe',
500: '#cb7efd',
950: '#000000',
},
}SCSS
$custom: #cb7efd; $custom-light: #dda5fe; $custom-dark: #000000;
JSON
{
"hex": "#cb7efd",
"rgb": {
"r": 203,
"g": 126,
"b": 253
},
"hsl": {
"h": 276.378,
"s": 96.947,
"l": 74.314
},
"oklch": {
"l": 0.72432,
"c": 0.19062,
"h": 310.5
},
"luminance": 0.3471
}Semantic roles & 50–950 ramp
primary
#CB7EFD
secondary
#E2F7D4
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86