#CD79C2#CD79C2

#CD79C2 is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.1% C 0.140 H 331.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CD79C2
RGBrgb(205, 121, 194)
HSLhsl(308, 46%, 64%)
HSVhsv(308, 41%, 80%)
CMYKcmyk(0%, 41%, 5.4%, 19.6%)
CIE-LABlab(62.13, 43.33, -24.32)
CIE-LCHlch(62.13, 49.69, 330.70°)
OKLaboklab(69.1% 0.1231 -0.0658)
OKLCHoklch(69.1% 0.14 331.9)
XYZxyz(41.7514, 30.5511, 54.7263)
Luminance0.3055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79C2 #79CD84
analogous
#AE79CD #CD79C2 #CD7998
triadic
#CD79C2 #C2CD79 #79C2CD
tetradic
#CD79C2 #CDAE79 #79CD84 #7998CD
square
#CD79C2 #CDAE79 #79CD84 #7998CD
split-complementary
#CD79C2 #98CD79 #79CDAE
monochromatic
#943788 #BC4CAE #CD79C2 #DEA6D6 #EED2EB

Accessibility & contrast

On white

2.95
#CD79C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CD79C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79C2
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79C2#FFFFFF#000000##000000
##CD79C21.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#778FC5
Deuteranopia (green-blind)
#8D9ABF
Tritanopia (blue-blind)
#D47E95
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd79c2;
/* rgb */ color: rgb(205, 121, 194);
/* oklch */ color: oklch(69.1% 0.140 331.9);
Tailwind
colors: {
  custom: {
    50: '#dea2d4',
    500: '#cd79c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd79c2;
$custom-light: #dea2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79c2",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 194
  },
  "hsl": {
    "h": 307.857,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69097,
    "c": 0.13961,
    "h": 331.9
  },
  "luminance": 0.30549
}

Semantic roles & 50–950 ramp

primary
#CD79C2
secondary
#C2E0C6
accent
#B93F2D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD79C2

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

Preview Lab → · Contrast checker → · Palette generator →

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