#CD79E7#CD79E7

#CD79E7 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.176 H 317.8°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CD79E7
RGBrgb(205, 121, 231)
HSLhsl(286, 70%, 69%)
HSVhsv(286, 48%, 91%)
CMYKcmyk(11.3%, 47.6%, 0%, 9.4%)
CIE-LABlab(63.69, 50.30, -42.62)
CIE-LCHlch(63.69, 65.92, 319.73°)
OKLaboklab(70.78% 0.1302 -0.1181)
OKLCHoklch(70.78% 0.176 317.8)
XYZxyz(46.4360, 32.4249, 79.3984)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79E7 #93E779
analogous
#9679E7 #CD79E7 #E779CA
triadic
#CD79E7 #E7CD79 #79E7CD
tetradic
#CD79E7 #E79679 #93E779 #79CAE7
square
#CD79E7 #E79679 #93E779 #79CAE7
split-complementary
#CD79E7 #CAE779 #79E796
monochromatic
#9D23C3 #BA45DE #CD79E7 #E0ADF0 #F4E1FA

Accessibility & contrast

On white

2.81
#CD79E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CD79E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79E7
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79E7#FFFFFF#000000##000000
##CD79E71.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EB
Deuteranopia (green-blind)
#7D9DE4
Tritanopia (blue-blind)
#CD88A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd79e7;
/* rgb */ color: rgb(205, 121, 231);
/* oklch */ color: oklch(70.8% 0.176 317.8);
Tailwind
colors: {
  custom: {
    50: '#dea2ef',
    500: '#cd79e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd79e7;
$custom-light: #dea2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79e7",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 285.818,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70779,
    "c": 0.17578,
    "h": 317.8
  },
  "luminance": 0.32423
}

Semantic roles & 50–950 ramp

primary
#CD79E7
secondary
#D5EECE
accent
#D21441
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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