#CB7FFF#CB7FFF
#CB7FFF is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.7% C 0.191 H 309.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7FFF |
|---|---|
| RGB | rgb(203, 127, 255) |
| HSL | hsl(276, 100%, 75%) |
| HSV | hsv(276, 50%, 100%) |
| CMYK | cmyk(20.4%, 50.2%, 0%, 0%) |
| CIE-LAB | lab(65.82, 51.65, -52.49) |
| CIE-LCH | lch(65.82, 73.64, 314.54°) |
| OKLab | oklab(72.69% 0.1226 -0.1468) |
| OKLCH | oklch(72.69% 0.191 309.9) |
| XYZ | xyz(50.2646, 35.0961, 98.7147) |
| Luminance | 0.3509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.86
Easter Purple
#C071FE
ΔE00 3.79
Liliac
#C48EFD
ΔE00 3.82
Light Urple
#B36FF6
ΔE00 5.72
Bright Lavender
#C760FF
ΔE00 6.47
Bright Lilac
#C95EFB
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7FFF #B3FF7F
analogous
#8B7FFF #CB7FFF #FF7FF3
triadic
#CB7FFF #FFCB7F #7FFFCB
tetradic
#CB7FFF #FF8B7F #B3FF7F #7FF3FF
square
#CB7FFF #FF8B7F #B3FF7F #7FF3FF
split-complementary
#CB7FFF #F3FF7F #7FFF8B
monochromatic
#9905FF #B242FF #CB7FFF #E4BCFF #F3E0FF
Accessibility & contrast
On white
2.62
#CB7FFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#CB7FFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7FFF
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7FFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7FFF | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#74A1FC
Tritanopia (blue-blind)
#C494B3
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cb7fff; /* rgb */ color: rgb(203, 127, 255); /* oklch */ color: oklch(72.7% 0.191 309.9);
Tailwind
colors: {
custom: {
50: '#dda6ff',
500: '#cb7fff',
950: '#000000',
},
}SCSS
$custom: #cb7fff; $custom-light: #dda6ff; $custom-dark: #000000;
JSON
{
"hex": "#cb7fff",
"rgb": {
"r": 203,
"g": 127,
"b": 255
},
"hsl": {
"h": 275.625,
"s": 100,
"l": 74.902
},
"oklch": {
"l": 0.72687,
"c": 0.19127,
"h": 309.9
},
"luminance": 0.35095
}Semantic roles & 50–950 ramp
primary
#CB7FFF
secondary
#E2F7D4
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86