#CB7DFE#CB7DFE
#CB7DFE is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.3% C 0.193 H 310.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7DFE |
|---|---|
| RGB | rgb(203, 125, 254) |
| HSL | hsl(276, 98%, 74%) |
| HSV | hsv(276, 51%, 100%) |
| CMYK | cmyk(20.1%, 50.8%, 0%, 0.4%) |
| CIE-LAB | lab(65.37, 52.47, -52.66) |
| CIE-LCH | lch(65.37, 74.34, 314.90°) |
| OKLab | oklab(72.34% 0.1251 -0.1473) |
| OKLCH | oklch(72.34% 0.193 310.3) |
| XYZ | xyz(49.8483, 34.5204, 97.7838) |
| Luminance | 0.3452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.56
Easter Purple
#C071FE
ΔE00 3.45
Liliac
#C48EFD
ΔE00 4.24
Light Urple
#B36FF6
ΔE00 5.44
Bright Lavender
#C760FF
ΔE00 6.05
Bright Lilac
#C95EFB
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7DFE #B0FE7D
analogous
#8B7DFE #CB7DFE #FE7DF1
triadic
#CB7DFE #FECB7D #7DFECB
tetradic
#CB7DFE #FE8B7D #B0FE7D #7DF1FE
square
#CB7DFE #FE8B7D #B0FE7D #7DF1FE
split-complementary
#CB7DFE #F1FE7D #7DFE8B
monochromatic
#9A04FD #B340FE #CB7DFE #E3BAFE #F3E1FF
Accessibility & contrast
On white
2.66
#CB7DFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#CB7DFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7DFE
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7DFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7DFE | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#73A0FB
Tritanopia (blue-blind)
#C593B2
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cb7dfe; /* rgb */ color: rgb(203, 125, 254); /* oklch */ color: oklch(72.3% 0.193 310.3);
Tailwind
colors: {
custom: {
50: '#dda5ff',
500: '#cb7dfe',
950: '#000000',
},
}SCSS
$custom: #cb7dfe; $custom-light: #dda5ff; $custom-dark: #000000;
JSON
{
"hex": "#cb7dfe",
"rgb": {
"r": 203,
"g": 125,
"b": 254
},
"hsl": {
"h": 276.279,
"s": 98.473,
"l": 74.314
},
"oklch": {
"l": 0.72338,
"c": 0.19326,
"h": 310.3
},
"luminance": 0.34519
}Semantic roles & 50–950 ramp
primary
#CB7DFE
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86