#CD79B7#CD79B7

#CD79B7 is a light, vivid pink. Relative luminance 0.301; OKLCH L 68.7% C 0.130 H 337.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#CD79B7
RGBrgb(205, 121, 183)
HSLhsl(316, 46%, 64%)
HSVhsv(316, 41%, 80%)
CMYKcmyk(0%, 41%, 10.7%, 19.6%)
CIE-LABlab(61.72, 41.44, -18.70)
CIE-LCHlch(61.72, 45.47, 335.71°)
OKLaboklab(68.66% 0.1203 -0.0501)
OKLCHoklch(68.66% 0.13 337.4)
XYZxyz(40.5615, 30.0751, 48.4592)
Luminance0.3007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79B7 #79CD8F
analogous
#B979CD #CD79B7 #CD798D
triadic
#CD79B7 #B7CD79 #79B7CD
tetradic
#CD79B7 #CDB979 #79CD8F #798DCD
square
#CD79B7 #CDB979 #79CD8F #798DCD
split-complementary
#CD79B7 #8DCD79 #79CDB9
monochromatic
#94377C #BC4C9F #CD79B7 #DEA6CF #EED2E7

Accessibility & contrast

On white

2.99
#CD79B7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#CD79B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79B7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79B7#FFFFFF#000000##000000
##CD79B71.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB9
Deuteranopia (green-blind)
#909AB5
Tritanopia (blue-blind)
#D57C90
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd79b7;
/* rgb */ color: rgb(205, 121, 183);
/* oklch */ color: oklch(68.7% 0.130 337.4);
Tailwind
colors: {
  custom: {
    50: '#dea1cc',
    500: '#cd79b7',
    950: '#000000',
  },
}
SCSS
$custom: #cd79b7;
$custom-light: #dea1cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79b7",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 183
  },
  "hsl": {
    "h": 315.714,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68656,
    "c": 0.13029,
    "h": 337.4
  },
  "luminance": 0.30073
}

Semantic roles & 50–950 ramp

primary
#CD79B7
secondary
#C2E0CA
accent
#B9512D
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD79B7

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

Preview Lab → · Contrast checker → · Palette generator →

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