#CD79DC#CD79DC

#CD79DC is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.2% C 0.165 H 321.4°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CD79DC
RGBrgb(205, 121, 220)
HSLhsl(291, 59%, 67%)
HSVhsv(291, 45%, 86%)
CMYKcmyk(6.8%, 45%, 0%, 13.7%)
CIE-LABlab(63.20, 48.14, -37.27)
CIE-LCHlch(63.20, 60.88, 322.25°)
OKLaboklab(70.25% 0.1285 -0.1027)
OKLCHoklch(70.25% 0.165 321.4)
XYZxyz(44.9310, 31.8229, 71.4719)
Luminance0.3182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79DC #88DC79
analogous
#9C79DC #CD79DC #DC79BA
triadic
#CD79DC #DCCD79 #79DCCD
tetradic
#CD79DC #DC9C79 #88DC79 #79BADC
square
#CD79DC #DC9C79 #88DC79 #79BADC
split-complementary
#CD79DC #BADC79 #79DC9C
monochromatic
#9A2DAD #BB48CF #CD79DC #DFAAE9 #F1DAF5

Accessibility & contrast

On white

2.85
#CD79DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#CD79DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79DC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79DC#FFFFFF#000000##000000
##CD79DC1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93DF
Deuteranopia (green-blind)
#839CD9
Tritanopia (blue-blind)
#CF85A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd79dc;
/* rgb */ color: rgb(205, 121, 220);
/* oklch */ color: oklch(70.2% 0.165 321.4);
Tailwind
colors: {
  custom: {
    50: '#dea2e7',
    500: '#cd79dc',
    950: '#000000',
  },
}
SCSS
$custom: #cd79dc;
$custom-light: #dea2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79dc",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 290.909,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70248,
    "c": 0.1645,
    "h": 321.4
  },
  "luminance": 0.31821
}

Semantic roles & 50–950 ramp

primary
#CD79DC
secondary
#CDE8C9
accent
#C61F39
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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