#CD79EB#CD79EB
#CD79EB is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.0% C 0.180 H 316.6°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CD79EB |
|---|---|
| RGB | rgb(205, 121, 235) |
| HSL | hsl(284, 74%, 70%) |
| HSV | hsv(284, 49%, 92%) |
| CMYK | cmyk(12.8%, 48.5%, 0%, 7.8%) |
| CIE-LAB | lab(63.88, 51.10, -44.54) |
| CIE-LCH | lch(63.88, 67.79, 318.92°) |
| OKLab | oklab(70.98% 0.1308 -0.1236) |
| OKLCH | oklch(70.98% 0.18 316.6) |
| XYZ | xyz(47.0074, 32.6535, 82.4077) |
| Luminance | 0.3265 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.82
Easter Purple
#C071FE
ΔE00 4.99
Orchid
#DA70D6
ΔE00 5.20
Liliac
#C48EFD
ΔE00 6.14
Bright Lilac
#C95EFB
ΔE00 6.34
Light Urple
#B36FF6
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD79EB #97EB79
analogous
#9479EB #CD79EB #EB79D0
triadic
#CD79EB #EBCD79 #79EBCD
tetradic
#CD79EB #EB9479 #97EB79 #79D0EB
square
#CD79EB #EB9479 #97EB79 #79D0EB
split-complementary
#CD79EB #D0EB79 #79EB94
monochromatic
#9E1ECB #B944E3 #CD79EB #E1AEF3 #F5E4FB
Accessibility & contrast
On white
2.79
#CD79EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#CD79EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD79EB
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD79EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD79EB | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6395EF
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#CC8AA7
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cd79eb; /* rgb */ color: rgb(205, 121, 235); /* oklch */ color: oklch(71.0% 0.180 316.6);
Tailwind
colors: {
custom: {
50: '#dea2f2',
500: '#cd79eb',
950: '#000000',
},
}SCSS
$custom: #cd79eb; $custom-light: #dea2f2; $custom-dark: #000000;
JSON
{
"hex": "#cd79eb",
"rgb": {
"r": 205,
"g": 121,
"b": 235
},
"hsl": {
"h": 284.211,
"s": 74.026,
"l": 69.804
},
"oklch": {
"l": 0.70979,
"c": 0.17996,
"h": 316.6
},
"luminance": 0.32652
}Semantic roles & 50–950 ramp
primary
#CD79EB
secondary
#D8F0D0
accent
#D60F44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85