#CB74FC#CB74FC
#CB74FC is a light, highly saturated violet. Relative luminance 0.322; OKLCH L 70.9% C 0.205 H 311.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CB74FC |
|---|---|
| RGB | rgb(203, 116, 252) |
| HSL | hsl(278, 96%, 72%) |
| HSV | hsv(278, 54%, 99%) |
| CMYK | cmyk(19.4%, 54%, 0%, 1.2%) |
| CIE-LAB | lab(63.52, 56.62, -54.50) |
| CIE-LCH | lch(63.52, 78.59, 316.09°) |
| OKLab | oklab(70.94% 0.1366 -0.1526) |
| OKLCH | oklch(70.94% 0.205 311.8) |
| XYZ | xyz(48.4415, 32.2167, 95.7432) |
| Luminance | 0.3222 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.10
Easter Purple
#C071FE
ΔE00 2.28
Bright Lavender
#C760FF
ΔE00 4.18
Bright Lilac
#C95EFB
ΔE00 4.41
Light Urple
#B36FF6
ΔE00 4.47
Liliac
#C48EFD
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB74FC #A5FC74
analogous
#8774FC #CB74FC #FC74E9
triadic
#CB74FC #FCCB74 #74FCCB
tetradic
#CB74FC #FC8774 #A5FC74 #74E9FC
square
#CB74FC #FC8774 #A5FC74 #74E9FC
split-complementary
#CB74FC #E9FC74 #74FC87
monochromatic
#9C05F0 #B538FB #CB74FC #E1B0FD #F4E1FE
Accessibility & contrast
On white
2.82
#CB74FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.44
#CB74FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB74FC
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB74FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB74FC | 1.00 | 2.82 | 7.44 | 7.44 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#6B9CF9
Tritanopia (blue-blind)
#C68BAD
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #cb74fc; /* rgb */ color: rgb(203, 116, 252); /* oklch */ color: oklch(70.9% 0.205 311.8);
Tailwind
colors: {
custom: {
50: '#de9ffe',
500: '#cb74fc',
950: '#000000',
},
}SCSS
$custom: #cb74fc; $custom-light: #de9ffe; $custom-dark: #000000;
JSON
{
"hex": "#cb74fc",
"rgb": {
"r": 203,
"g": 116,
"b": 252
},
"hsl": {
"h": 278.382,
"s": 95.775,
"l": 72.157
},
"oklch": {
"l": 0.70938,
"c": 0.2048,
"h": 311.8
},
"luminance": 0.32216
}Semantic roles & 50–950 ramp
primary
#CB74FC
secondary
#E1F7D4
accent
#E60053
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86