#CB74F7#CB74F7
#CB74F7 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.7% C 0.200 H 313.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CB74F7 |
|---|---|
| RGB | rgb(203, 116, 247) |
| HSL | hsl(280, 89%, 71%) |
| HSV | hsv(280, 53%, 97%) |
| CMYK | cmyk(17.8%, 53%, 0%, 3.1%) |
| CIE-LAB | lab(63.26, 55.58, -52.16) |
| CIE-LCH | lch(63.26, 76.22, 316.82°) |
| OKLab | oklab(70.67% 0.1362 -0.1458) |
| OKLCH | oklch(70.67% 0.2 313.1) |
| XYZ | xyz(47.6596, 31.9039, 91.6251) |
| Luminance | 0.3190 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.20
Easter Purple
#C071FE
ΔE00 2.72
Bright Lavender
#C760FF
ΔE00 4.38
Bright Lilac
#C95EFB
ΔE00 4.47
Light Urple
#B36FF6
ΔE00 4.65
Liliac
#C48EFD
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB74F7 #A0F774
analogous
#8974F7 #CB74F7 #F774E2
triadic
#CB74F7 #F7CB74 #74F7CB
tetradic
#CB74F7 #F78974 #A0F774 #74E2F7
square
#CB74F7 #F78974 #A0F774 #74E2F7
split-complementary
#CB74F7 #E2F774 #74F789
monochromatic
#9B0DE4 #B53AF4 #CB74F7 #E1AEFA #F4E2FD
Accessibility & contrast
On white
2.85
#CB74F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#CB74F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB74F7
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB74F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB74F7 | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#6F9BF4
Tritanopia (blue-blind)
#C78AAB
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cb74f7; /* rgb */ color: rgb(203, 116, 247); /* oklch */ color: oklch(70.7% 0.200 313.1);
Tailwind
colors: {
custom: {
50: '#dd9ffa',
500: '#cb74f7',
950: '#000000',
},
}SCSS
$custom: #cb74f7; $custom-light: #dd9ffa; $custom-dark: #000000;
JSON
{
"hex": "#cb74f7",
"rgb": {
"r": 203,
"g": 116,
"b": 247
},
"hsl": {
"h": 279.847,
"s": 89.116,
"l": 71.176
},
"oklch": {
"l": 0.70665,
"c": 0.19954,
"h": 313.1
},
"luminance": 0.31903
}Semantic roles & 50–950 ramp
primary
#CB74F7
secondary
#DEF5D2
accent
#E6004D
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85