#CD79D2#CD79D2

#CD79D2 is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.8% C 0.155 H 325.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CD79D2
RGBrgb(205, 121, 210)
HSLhsl(297, 50%, 65%)
HSVhsv(297, 42%, 82%)
CMYKcmyk(2.4%, 42.4%, 0%, 17.6%)
CIE-LABlab(62.77, 46.23, -32.34)
CIE-LCHlch(62.77, 56.42, 325.03°)
OKLaboklab(69.79% 0.1267 -0.0886)
OKLCHoklch(69.79% 0.155 325)
XYZxyz(43.6460, 31.3089, 64.7045)
Luminance0.3131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79D2 #7ED279
analogous
#A079D2 #CD79D2 #D279AB
triadic
#CD79D2 #D2CD79 #79D2CD
tetradic
#CD79D2 #D2A079 #7ED279 #79ABD2
square
#CD79D2 #D2A079 #7ED279 #79ABD2
split-complementary
#CD79D2 #ABD279 #79D2A0
monochromatic
#96349C #BC4BC3 #CD79D2 #DEA7E1 #EFD5F1

Accessibility & contrast

On white

2.89
#CD79D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CD79D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79D2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79D2#FFFFFF#000000##000000
##CD79D21.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7091D5
Deuteranopia (green-blind)
#879CCF
Tritanopia (blue-blind)
#D1839C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd79d2;
/* rgb */ color: rgb(205, 121, 210);
/* oklch */ color: oklch(69.8% 0.155 325.0);
Tailwind
colors: {
  custom: {
    50: '#dea2e0',
    500: '#cd79d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd79d2;
$custom-light: #dea2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79d2",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 296.629,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69787,
    "c": 0.15456,
    "h": 325
  },
  "luminance": 0.31307
}

Semantic roles & 50–950 ramp

primary
#CD79D2
secondary
#C6E3C4
accent
#BD2831
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD79D2

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

Preview Lab → · Contrast checker → · Palette generator →

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