#CB7FFE#CB7FFE
#CB7FFE is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.6% C 0.190 H 310.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7FFE |
|---|---|
| RGB | rgb(203, 127, 254) |
| HSL | hsl(276, 98%, 75%) |
| HSV | hsv(276, 50%, 100%) |
| CMYK | cmyk(20.1%, 50%, 0%, 0.4%) |
| CIE-LAB | lab(65.77, 51.44, -52.03) |
| CIE-LCH | lch(65.77, 73.16, 314.67°) |
| OKLab | oklab(72.63% 0.1225 -0.1455) |
| OKLCH | oklch(72.63% 0.19 310.1) |
| XYZ | xyz(50.1040, 35.0319, 97.8691) |
| Luminance | 0.3503 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.84
Easter Purple
#C071FE
ΔE00 3.82
Liliac
#C48EFD
ΔE00 3.82
Light Urple
#B36FF6
ΔE00 5.74
Bright Lavender
#C760FF
ΔE00 6.48
Bright Lilac
#C95EFB
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7FFE #B2FE7F
analogous
#8C7FFE #CB7FFE #FE7FF1
triadic
#CB7FFE #FECB7F #7FFECB
tetradic
#CB7FFE #FE8C7F #B2FE7F #7FF1FE
square
#CB7FFE #FE8C7F #B2FE7F #7FF1FE
split-complementary
#CB7FFE #F1FE7F #7FFE8C
monochromatic
#9A06FD #B242FE #CB7FFE #E4BCFE #F3E1FF
Accessibility & contrast
On white
2.62
#CB7FFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#CB7FFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7FFE
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7FFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7FFE | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#74A1FB
Tritanopia (blue-blind)
#C594B3
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cb7ffe; /* rgb */ color: rgb(203, 127, 254); /* oklch */ color: oklch(72.6% 0.190 310.1);
Tailwind
colors: {
custom: {
50: '#dda6ff',
500: '#cb7ffe',
950: '#000000',
},
}SCSS
$custom: #cb7ffe; $custom-light: #dda6ff; $custom-dark: #000000;
JSON
{
"hex": "#cb7ffe",
"rgb": {
"r": 203,
"g": 127,
"b": 254
},
"hsl": {
"h": 275.906,
"s": 98.45,
"l": 74.706
},
"oklch": {
"l": 0.72634,
"c": 0.19016,
"h": 310.1
},
"luminance": 0.35031
}Semantic roles & 50–950 ramp
primary
#CB7FFE
secondary
#E2F7D4
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86