#CB79FD#CB79FD
#CB79FD is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.7% C 0.198 H 311.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CB79FD |
|---|---|
| RGB | rgb(203, 121, 253) |
| HSL | hsl(277, 97%, 73%) |
| HSV | hsv(277, 52%, 99%) |
| CMYK | cmyk(19.8%, 52.2%, 0%, 0.8%) |
| CIE-LAB | lab(64.53, 54.31, -53.44) |
| CIE-LCH | lch(64.53, 76.19, 315.46°) |
| OKLab | oklab(71.7% 0.1302 -0.1496) |
| OKLCH | oklch(71.7% 0.198 311) |
| XYZ | xyz(49.1924, 33.4641, 96.7773) |
| Luminance | 0.3346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.16
Easter Purple
#C071FE
ΔE00 2.83
Light Urple
#B36FF6
ΔE00 4.94
Liliac
#C48EFD
ΔE00 5.07
Bright Lavender
#C760FF
ΔE00 5.20
Bright Lilac
#C95EFB
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB79FD #ABFD79
analogous
#8979FD #CB79FD #FD79ED
triadic
#CB79FD #FDCB79 #79FDCB
tetradic
#CB79FD #FD8979 #ABFD79 #79EDFD
square
#CB79FD #FD8979 #ABFD79 #79EDFD
split-complementary
#CB79FD #EDFD79 #79FD89
monochromatic
#9B04F8 #B43DFC #CB79FD #E2B5FE #F3E1FF
Accessibility & contrast
On white
2.73
#CB79FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#CB79FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB79FD
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB79FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB79FD | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#6F9EFA
Tritanopia (blue-blind)
#C58FB0
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cb79fd; /* rgb */ color: rgb(203, 121, 253); /* oklch */ color: oklch(71.7% 0.198 311.0);
Tailwind
colors: {
custom: {
50: '#dda2fe',
500: '#cb79fd',
950: '#000000',
},
}SCSS
$custom: #cb79fd; $custom-light: #dda2fe; $custom-dark: #000000;
JSON
{
"hex": "#cb79fd",
"rgb": {
"r": 203,
"g": 121,
"b": 253
},
"hsl": {
"h": 277.273,
"s": 97.059,
"l": 73.333
},
"oklch": {
"l": 0.71702,
"c": 0.19831,
"h": 311
},
"luminance": 0.33463
}Semantic roles & 50–950 ramp
primary
#CB79FD
secondary
#E1F7D4
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86