#CD79C8#CD79C8

#CD79C8 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.3% C 0.145 H 329.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CD79C8
RGBrgb(205, 121, 200)
HSLhsl(304, 46%, 64%)
HSVhsv(304, 41%, 80%)
CMYKcmyk(0%, 41%, 2.4%, 19.6%)
CIE-LABlab(62.36, 44.40, -27.34)
CIE-LCHlch(62.36, 52.14, 328.37°)
OKLaboklab(69.35% 0.1245 -0.0744)
OKLCHoklch(69.35% 0.145 329.2)
XYZxyz(42.4389, 30.8261, 58.3470)
Luminance0.3082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79C8 #79CD7E
analogous
#A879CD #CD79C8 #CD799E
triadic
#CD79C8 #C8CD79 #79C8CD
tetradic
#CD79C8 #CDA879 #79CD7E #799ECD
square
#CD79C8 #CDA879 #79CD7E #799ECD
split-complementary
#CD79C8 #9ECD79 #79CDA8
monochromatic
#94378F #BC4CB6 #CD79C8 #DEA6DA #EED2ED

Accessibility & contrast

On white

2.93
#CD79C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CD79C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79C8
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79C8#FFFFFF#000000##000000
##CD79C81.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CB
Deuteranopia (green-blind)
#8B9BC5
Tritanopia (blue-blind)
#D38097
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd79c8;
/* rgb */ color: rgb(205, 121, 200);
/* oklch */ color: oklch(69.3% 0.145 329.2);
Tailwind
colors: {
  custom: {
    50: '#dea2d9',
    500: '#cd79c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd79c8;
$custom-light: #dea2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79c8",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 303.571,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69349,
    "c": 0.14506,
    "h": 329.2
  },
  "luminance": 0.30824
}

Semantic roles & 50–950 ramp

primary
#CD79C8
secondary
#C2E0C4
accent
#B9352D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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