#CB74F8#CB74F8
#CB74F8 is a light, highly saturated violet. Relative luminance 0.320; OKLCH L 70.7% C 0.201 H 312.8°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #CB74F8 |
|---|---|
| RGB | rgb(203, 116, 248) |
| HSL | hsl(280, 90%, 71%) |
| HSV | hsv(280, 53%, 97%) |
| CMYK | cmyk(18.1%, 53.2%, 0%, 2.7%) |
| CIE-LAB | lab(63.31, 55.78, -52.63) |
| CIE-LCH | lch(63.31, 76.69, 316.67°) |
| OKLab | oklab(70.72% 0.1363 -0.1472) |
| OKLCH | oklch(70.72% 0.201 312.8) |
| XYZ | xyz(47.8144, 31.9658, 92.4400) |
| Luminance | 0.3196 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.16
Easter Purple
#C071FE
ΔE00 2.61
Bright Lavender
#C760FF
ΔE00 4.33
Bright Lilac
#C95EFB
ΔE00 4.45
Light Urple
#B36FF6
ΔE00 4.61
Liliac
#C48EFD
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB74F8 #A1F874
analogous
#8974F8 #CB74F8 #F874E3
triadic
#CB74F8 #F8CB74 #74F8CB
tetradic
#CB74F8 #F88974 #A1F874 #74E3F8
square
#CB74F8 #F88974 #A1F874 #74E3F8
split-complementary
#CB74F8 #E3F874 #74F889
monochromatic
#9C0CE6 #B53AF5 #CB74F8 #E1AEFB #F4E2FE
Accessibility & contrast
On white
2.84
#CB74F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#CB74F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB74F8
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB74F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB74F8 | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5195FC
Deuteranopia (green-blind)
#6E9BF5
Tritanopia (blue-blind)
#C78AAB
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cb74f8; /* rgb */ color: rgb(203, 116, 248); /* oklch */ color: oklch(70.7% 0.201 312.8);
Tailwind
colors: {
custom: {
50: '#dd9ffb',
500: '#cb74f8',
950: '#000000',
},
}SCSS
$custom: #cb74f8; $custom-light: #dd9ffb; $custom-dark: #000000;
JSON
{
"hex": "#cb74f8",
"rgb": {
"r": 203,
"g": 116,
"b": 248
},
"hsl": {
"h": 279.545,
"s": 90.411,
"l": 71.373
},
"oklch": {
"l": 0.70719,
"c": 0.20059,
"h": 312.8
},
"luminance": 0.31965
}Semantic roles & 50–950 ramp
primary
#CB74F8
secondary
#DEF5D3
accent
#E6004E
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85