#CD79EA#CD79EA

#CD79EA is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.179 H 316.9°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#CD79EA
RGBrgb(205, 121, 234)
HSLhsl(285, 73%, 70%)
HSVhsv(285, 48%, 92%)
CMYKcmyk(12.4%, 48.3%, 0%, 8.2%)
CIE-LABlab(63.83, 50.90, -44.06)
CIE-LCHlch(63.83, 67.32, 319.12°)
OKLaboklab(70.93% 0.1306 -0.1223)
OKLCHoklch(70.93% 0.179 316.9)
XYZxyz(46.8633, 32.5959, 81.6490)
Luminance0.3259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79EA #96EA79
analogous
#9579EA #CD79EA #EA79CE
triadic
#CD79EA #EACD79 #79EACD
tetradic
#CD79EA #EA9579 #96EA79 #79CEEA
square
#CD79EA #EA9579 #96EA79 #79CEEA
split-complementary
#CD79EA #CEEA79 #79EA95
monochromatic
#9E20C9 #B944E2 #CD79EA #E1AEF2 #F4E3FB

Accessibility & contrast

On white

2.79
#CD79EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#CD79EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79EA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79EA#FFFFFF#000000##000000
##CD79EA1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#7C9DE7
Tritanopia (blue-blind)
#CC89A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd79ea;
/* rgb */ color: rgb(205, 121, 234);
/* oklch */ color: oklch(70.9% 0.179 316.9);
Tailwind
colors: {
  custom: {
    50: '#dea2f1',
    500: '#cd79ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd79ea;
$custom-light: #dea2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79ea",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 284.602,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70929,
    "c": 0.17891,
    "h": 316.9
  },
  "luminance": 0.32594
}

Semantic roles & 50–950 ramp

primary
#CD79EA
secondary
#D8F0CF
accent
#D51143
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD79EA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CD79EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva