#CD79E8#CD79E8

#CD79E8 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.8% C 0.177 H 317.5°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CD79E8
RGBrgb(205, 121, 232)
HSLhsl(285, 71%, 69%)
HSVhsv(285, 48%, 91%)
CMYKcmyk(11.6%, 47.8%, 0%, 9%)
CIE-LABlab(63.74, 50.50, -43.10)
CIE-LCHlch(63.74, 66.39, 319.52°)
OKLaboklab(70.83% 0.1304 -0.1195)
OKLCHoklch(70.83% 0.177 317.5)
XYZxyz(46.5776, 32.4816, 80.1443)
Luminance0.3248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79E8 #94E879
analogous
#9679E8 #CD79E8 #E879CC
triadic
#CD79E8 #E8CD79 #79E8CD
tetradic
#CD79E8 #E89679 #94E879 #79CCE8
square
#CD79E8 #E89679 #94E879 #79CCE8
split-complementary
#CD79E8 #CCE879 #79E896
monochromatic
#9D22C5 #BA45DF #CD79E8 #E0ADF1 #F4E1FA

Accessibility & contrast

On white

2.80
#CD79E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#CD79E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79E8
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79E8#FFFFFF#000000##000000
##CD79E81.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EC
Deuteranopia (green-blind)
#7D9DE5
Tritanopia (blue-blind)
#CD89A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd79e8;
/* rgb */ color: rgb(205, 121, 232);
/* oklch */ color: oklch(70.8% 0.177 317.5);
Tailwind
colors: {
  custom: {
    50: '#dea2f0',
    500: '#cd79e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd79e8;
$custom-light: #dea2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79e8",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 285.405,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70829,
    "c": 0.17683,
    "h": 317.5
  },
  "luminance": 0.3248
}

Semantic roles & 50–950 ramp

primary
#CD79E8
secondary
#D6EFCE
accent
#D31341
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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