#CB74FD#CB74FD
#CB74FD is a light, highly saturated violet. Relative luminance 0.323; OKLCH L 71.0% C 0.206 H 311.6°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CB74FD |
|---|---|
| RGB | rgb(203, 116, 253) |
| HSL | hsl(278, 97%, 72%) |
| HSV | hsv(278, 54%, 99%) |
| CMYK | cmyk(19.8%, 54.2%, 0%, 0.8%) |
| CIE-LAB | lab(63.57, 56.84, -54.97) |
| CIE-LCH | lch(63.57, 79.07, 315.96°) |
| OKLab | oklab(70.99% 0.1366 -0.154) |
| OKLCH | oklch(70.99% 0.206 311.6) |
| XYZ | xyz(48.6004, 32.2802, 96.5800) |
| Luminance | 0.3228 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.11
Easter Purple
#C071FE
ΔE00 2.22
Bright Lavender
#C760FF
ΔE00 4.16
Bright Lilac
#C95EFB
ΔE00 4.41
Light Urple
#B36FF6
ΔE00 4.44
Liliac
#C48EFD
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB74FD #A6FD74
analogous
#8674FD #CB74FD #FD74EB
triadic
#CB74FD #FDCB74 #74FDCB
tetradic
#CB74FD #FD8674 #A6FD74 #74EBFD
square
#CB74FD #FD8674 #A6FD74 #74EBFD
split-complementary
#CB74FD #EBFD74 #74FD86
monochromatic
#9C03F3 #B438FC #CB74FD #E2B0FE #F4E1FF
Accessibility & contrast
On white
2.82
#CB74FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#CB74FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB74FD
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB74FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB74FD | 1.00 | 2.82 | 7.46 | 7.46 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#6B9CFA
Tritanopia (blue-blind)
#C58CAE
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #cb74fd; /* rgb */ color: rgb(203, 116, 253); /* oklch */ color: oklch(71.0% 0.206 311.6);
Tailwind
colors: {
custom: {
50: '#de9fff',
500: '#cb74fd',
950: '#000000',
},
}SCSS
$custom: #cb74fd; $custom-light: #de9fff; $custom-dark: #000000;
JSON
{
"hex": "#cb74fd",
"rgb": {
"r": 203,
"g": 116,
"b": 253
},
"hsl": {
"h": 278.102,
"s": 97.163,
"l": 72.353
},
"oklch": {
"l": 0.70994,
"c": 0.20586,
"h": 311.6
},
"luminance": 0.32279
}Semantic roles & 50–950 ramp
primary
#CB74FD
secondary
#E1F7D4
accent
#E60054
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86