#CD78C2#CD78C2

#CD78C2 is a light, vivid purple. Relative luminance 0.303; OKLCH L 68.9% C 0.141 H 331.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CD78C2
RGBrgb(205, 120, 194)
HSLhsl(308, 46%, 64%)
HSVhsv(308, 41%, 80%)
CMYKcmyk(0%, 41.5%, 5.4%, 19.6%)
CIE-LABlab(61.92, 43.86, -24.63)
CIE-LCHlch(61.92, 50.30, 330.68°)
OKLaboklab(68.94% 0.1246 -0.0667)
OKLCHoklch(68.94% 0.141 331.8)
XYZxyz(41.6305, 30.3093, 54.6860)
Luminance0.3031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78C2 #78CD83
analogous
#AD78CD #CD78C2 #CD7897
triadic
#CD78C2 #C2CD78 #78C2CD
tetradic
#CD78C2 #CDAD78 #78CD83 #7897CD
square
#CD78C2 #CDAD78 #78CD83 #7897CD
split-complementary
#CD78C2 #97CD78 #78CDAD
monochromatic
#943788 #BC4BAE #CD78C2 #DEA5D6 #EED1EA

Accessibility & contrast

On white

2.97
#CD78C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#CD78C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78C2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78C2#FFFFFF#000000##000000
##CD78C21.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#768EC5
Deuteranopia (green-blind)
#8C9ABF
Tritanopia (blue-blind)
#D47D94
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd78c2;
/* rgb */ color: rgb(205, 120, 194);
/* oklch */ color: oklch(68.9% 0.141 331.8);
Tailwind
colors: {
  custom: {
    50: '#dea1d4',
    500: '#cd78c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd78c2;
$custom-light: #dea1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78c2",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 194
  },
  "hsl": {
    "h": 307.765,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68942,
    "c": 0.14135,
    "h": 331.8
  },
  "luminance": 0.30307
}

Semantic roles & 50–950 ramp

primary
#CD78C2
secondary
#C1DFC5
accent
#B93F2C
background
#FDFAFD
surface
#FBF3FA
border
#D4CDD3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD78C2

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

Preview Lab → · Contrast checker → · Palette generator →

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