#CB7FF2#CB7FF2
#CB7FF2 is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.0% C 0.177 H 313.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7FF2 |
|---|---|
| RGB | rgb(203, 127, 242) |
| HSL | hsl(280, 82%, 72%) |
| HSV | hsv(280, 48%, 95%) |
| CMYK | cmyk(16.1%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(65.19, 48.88, -46.36) |
| CIE-LCH | lch(65.19, 67.37, 316.52°) |
| OKLab | oklab(72.01% 0.1211 -0.129) |
| OKLCH | oklch(72.01% 0.177 313.2) |
| XYZ | xyz(48.2423, 34.2872, 88.0639) |
| Luminance | 0.3429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.31
Liliac
#C48EFD
ΔE00 4.35
Easter Purple
#C071FE
ΔE00 4.70
Light Urple
#B36FF6
ΔE00 6.28
Orchid
#DA70D6
ΔE00 6.82
Baby Purple
#CA9BF7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7FF2 #A6F27F
analogous
#927FF2 #CB7FF2 #F27FE0
triadic
#CB7FF2 #F2CB7F #7FF2CB
tetradic
#CB7FF2 #F2927F #A6F27F #7FE0F2
square
#CB7FF2 #F2927F #A6F27F #7FE0F2
split-complementary
#CB7FF2 #E0F27F #7FF292
monochromatic
#9C17E0 #B447EC #CB7FF2 #E2B7F8 #F4E3FC
Accessibility & contrast
On white
2.67
#CB7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#CB7FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7FF2
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7FF2 | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#C891AD
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cb7ff2; /* rgb */ color: rgb(203, 127, 242); /* oklch */ color: oklch(72.0% 0.177 313.2);
Tailwind
colors: {
custom: {
50: '#dda6f7',
500: '#cb7ff2',
950: '#000000',
},
}SCSS
$custom: #cb7ff2; $custom-light: #dda6f7; $custom-dark: #000000;
JSON
{
"hex": "#cb7ff2",
"rgb": {
"r": 203,
"g": 127,
"b": 242
},
"hsl": {
"h": 279.652,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.7201,
"c": 0.17696,
"h": 313.2
},
"luminance": 0.34286
}Semantic roles & 50–950 ramp
primary
#CB7FF2
secondary
#E1F4D7
accent
#DE0850
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85