#CD78C8#CD78C8

#CD78C8 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.2% C 0.147 H 329.2°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CD78C8
RGBrgb(205, 120, 200)
HSLhsl(304, 46%, 64%)
HSVhsv(304, 41%, 80%)
CMYKcmyk(0%, 41.5%, 2.4%, 19.6%)
CIE-LABlab(62.16, 44.92, -27.66)
CIE-LCHlch(62.16, 52.75, 328.38°)
OKLaboklab(69.19% 0.126 -0.0753)
OKLCHoklch(69.19% 0.147 329.2)
XYZxyz(42.3180, 30.5843, 58.3067)
Luminance0.3058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78C8 #78CD7D
analogous
#A778CD #CD78C8 #CD789D
triadic
#CD78C8 #C8CD78 #78C8CD
tetradic
#CD78C8 #CDA778 #78CD7D #789DCD
square
#CD78C8 #CDA778 #78CD7D #789DCD
split-complementary
#CD78C8 #9DCD78 #78CDA7
monochromatic
#94378E #BC4BB6 #CD78C8 #DEA5DA #EED1EC

Accessibility & contrast

On white

2.95
#CD78C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CD78C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78C8
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78C8#FFFFFF#000000##000000
##CD78C81.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#738FCB
Deuteranopia (green-blind)
#8A9AC5
Tritanopia (blue-blind)
#D37F97
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd78c8;
/* rgb */ color: rgb(205, 120, 200);
/* oklch */ color: oklch(69.2% 0.147 329.2);
Tailwind
colors: {
  custom: {
    50: '#dea1d9',
    500: '#cd78c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd78c8;
$custom-light: #dea1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78c8",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 303.529,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69195,
    "c": 0.14678,
    "h": 329.2
  },
  "luminance": 0.30582
}

Semantic roles & 50–950 ramp

primary
#CD78C8
secondary
#C1DFC3
accent
#B9352C
background
#FDFAFD
surface
#FBF3FA
border
#D4CDD3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD78C8

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

Preview Lab → · Contrast checker → · Palette generator →

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