#CD79D7#CD79D7

#CD79D7 is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.0% C 0.159 H 323.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CD79D7
RGBrgb(205, 121, 215)
HSLhsl(294, 54%, 66%)
HSVhsv(294, 44%, 84%)
CMYKcmyk(4.7%, 43.7%, 0%, 15.7%)
CIE-LABlab(62.98, 47.18, -34.81)
CIE-LCHlch(62.98, 58.63, 323.57°)
OKLaboklab(70.02% 0.1276 -0.0956)
OKLCHoklch(70.02% 0.159 323.2)
XYZxyz(44.2787, 31.5620, 68.0365)
Luminance0.3156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79D7 #83D779
analogous
#9E79D7 #CD79D7 #D779B2
triadic
#CD79D7 #D7CD79 #79D7CD
tetradic
#CD79D7 #D79E79 #83D779 #79B2D7
square
#CD79D7 #D79E79 #83D779 #79B2D7
split-complementary
#CD79D7 #B2D779 #79D79E
monochromatic
#9831A4 #BB4AC9 #CD79D7 #DFA8E5 #F0D7F3

Accessibility & contrast

On white

2.87
#CD79D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CD79D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79D7
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79D7#FFFFFF#000000##000000
##CD79D71.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E92DA
Deuteranopia (green-blind)
#859CD4
Tritanopia (blue-blind)
#D0849E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd79d7;
/* rgb */ color: rgb(205, 121, 215);
/* oklch */ color: oklch(70.0% 0.159 323.2);
Tailwind
colors: {
  custom: {
    50: '#dea2e3',
    500: '#cd79d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd79d7;
$custom-light: #dea2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79d7",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 215
  },
  "hsl": {
    "h": 293.617,
    "s": 54.023,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70015,
    "c": 0.15949,
    "h": 323.2
  },
  "luminance": 0.3156
}

Semantic roles & 50–950 ramp

primary
#CD79D7
secondary
#CAE5C6
accent
#C12435
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD79D7

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

Preview Lab → · Contrast checker → · Palette generator →

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