#CD79CB#CD79CB

#CD79CB is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.5% C 0.148 H 327.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CD79CB
RGBrgb(205, 121, 203)
HSLhsl(301, 46%, 64%)
HSVhsv(301, 41%, 80%)
CMYKcmyk(0%, 41%, 1%, 19.6%)
CIE-LABlab(62.48, 44.94, -28.85)
CIE-LCHlch(62.48, 53.41, 327.30°)
OKLaboklab(69.48% 0.1252 -0.0786)
OKLCHoklch(69.48% 0.148 327.9)
XYZxyz(42.7930, 30.9677, 60.2116)
Luminance0.3097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79CB #79CD7B
analogous
#A579CD #CD79CB #CD79A1
triadic
#CD79CB #CBCD79 #79CBCD
tetradic
#CD79CB #CDA579 #79CD7B #79A1CD
square
#CD79CB #CDA579 #79CD7B #79A1CD
split-complementary
#CD79CB #A1CD79 #79CDA5
monochromatic
#943792 #BC4CBA #CD79CB #DEA6DC #EED2EE

Accessibility & contrast

On white

2.92
#CD79CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CD79CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79CB
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79CB#FFFFFF#000000##000000
##CD79CB1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CE
Deuteranopia (green-blind)
#8A9BC8
Tritanopia (blue-blind)
#D28199
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd79cb;
/* rgb */ color: rgb(205, 121, 203);
/* oklch */ color: oklch(69.5% 0.148 327.9);
Tailwind
colors: {
  custom: {
    50: '#dea2db',
    500: '#cd79cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd79cb;
$custom-light: #dea2db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79cb",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 301.429,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69478,
    "c": 0.14786,
    "h": 327.9
  },
  "luminance": 0.30966
}

Semantic roles & 50–950 ramp

primary
#CD79CB
secondary
#C2E0C3
accent
#B9302D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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