#CD79D9#CD79D9

#CD79D9 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.1% C 0.161 H 322.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CD79D9
RGBrgb(205, 121, 217)
HSLhsl(293, 56%, 66%)
HSVhsv(293, 44%, 85%)
CMYKcmyk(5.5%, 44.2%, 0%, 14.9%)
CIE-LABlab(63.07, 47.56, -35.80)
CIE-LCHlch(63.07, 59.53, 323.03°)
OKLaboklab(70.11% 0.128 -0.0985)
OKLCHoklch(70.11% 0.161 322.4)
XYZxyz(44.5372, 31.6654, 69.3982)
Luminance0.3166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79D9 #85D979
analogous
#9D79D9 #CD79D9 #D979B5
triadic
#CD79D9 #D9CD79 #79D9CD
tetradic
#CD79D9 #D99D79 #85D979 #79B5D9
square
#CD79D9 #D99D79 #85D979 #79B5D9
split-complementary
#CD79D9 #B5D979 #79D99D
monochromatic
#9930A8 #BB49CB #CD79D9 #DFA9E7 #F1D8F4

Accessibility & contrast

On white

2.86
#CD79D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CD79D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79D9
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79D9#FFFFFF#000000##000000
##CD79D91.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D92DC
Deuteranopia (green-blind)
#849CD6
Tritanopia (blue-blind)
#D0849F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd79d9;
/* rgb */ color: rgb(205, 121, 217);
/* oklch */ color: oklch(70.1% 0.161 322.4);
Tailwind
colors: {
  custom: {
    50: '#dea2e5',
    500: '#cd79d9',
    950: '#000000',
  },
}
SCSS
$custom: #cd79d9;
$custom-light: #dea2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79d9",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 292.5,
    "s": 55.814,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70107,
    "c": 0.16149,
    "h": 322.4
  },
  "luminance": 0.31664
}

Semantic roles & 50–950 ramp

primary
#CD79D9
secondary
#CBE7C7
accent
#C32236
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CD79D9

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

Preview Lab → · Contrast checker → · Palette generator →

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