#CD79D8#CD79D8

#CD79D8 is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.1% C 0.160 H 322.8°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CD79D8
RGBrgb(205, 121, 216)
HSLhsl(293, 55%, 66%)
HSVhsv(293, 44%, 85%)
CMYKcmyk(5.1%, 44%, 0%, 15.3%)
CIE-LABlab(63.02, 47.37, -35.31)
CIE-LCHlch(63.02, 59.08, 323.30°)
OKLaboklab(70.06% 0.1278 -0.097)
OKLCHoklch(70.06% 0.16 322.8)
XYZxyz(44.4076, 31.6136, 68.7153)
Luminance0.3161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79D8 #84D879
analogous
#9D79D8 #CD79D8 #D879B3
triadic
#CD79D8 #D8CD79 #79D8CD
tetradic
#CD79D8 #D89D79 #84D879 #79B3D8
square
#CD79D8 #D89D79 #84D879 #79B3D8
split-complementary
#CD79D8 #B3D879 #79D89D
monochromatic
#9930A6 #BB4ACA #CD79D8 #DFA8E6 #F0D8F4

Accessibility & contrast

On white

2.87
#CD79D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CD79D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79D8
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79D8#FFFFFF#000000##000000
##CD79D81.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D92DB
Deuteranopia (green-blind)
#849CD5
Tritanopia (blue-blind)
#D0849E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd79d8;
/* rgb */ color: rgb(205, 121, 216);
/* oklch */ color: oklch(70.1% 0.160 322.8);
Tailwind
colors: {
  custom: {
    50: '#dea2e4',
    500: '#cd79d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd79d8;
$custom-light: #dea2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79d8",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 216
  },
  "hsl": {
    "h": 293.053,
    "s": 54.913,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70061,
    "c": 0.16049,
    "h": 322.8
  },
  "luminance": 0.31612
}

Semantic roles & 50–950 ramp

primary
#CD79D8
secondary
#CAE6C7
accent
#C22336
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CD79D8

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

Preview Lab → · Contrast checker → · Palette generator →

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