#CD78D9#CD78D9

#CD78D9 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.0% C 0.163 H 322.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CD78D9
RGBrgb(205, 120, 217)
HSLhsl(293, 56%, 66%)
HSVhsv(293, 45%, 85%)
CMYKcmyk(5.5%, 44.7%, 0%, 14.9%)
CIE-LABlab(62.86, 48.08, -36.11)
CIE-LCHlch(62.86, 60.13, 323.09°)
OKLaboklab(69.96% 0.1294 -0.0994)
OKLCHoklch(69.96% 0.163 322.5)
XYZxyz(44.4164, 31.4236, 69.3579)
Luminance0.3142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78D9 #84D978
analogous
#9C78D9 #CD78D9 #D978B4
triadic
#CD78D9 #D9CD78 #78D9CD
tetradic
#CD78D9 #D99C78 #84D978 #78B4D9
square
#CD78D9 #D99C78 #84D978 #78B4D9
split-complementary
#CD78D9 #B4D978 #78D99C
monochromatic
#992FA7 #BB48CC #CD78D9 #DFA8E6 #F0D8F4

Accessibility & contrast

On white

2.88
#CD78D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CD78D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78D9
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78D9#FFFFFF#000000##000000
##CD78D91.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C92DC
Deuteranopia (green-blind)
#839CD6
Tritanopia (blue-blind)
#D0849E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd78d9;
/* rgb */ color: rgb(205, 120, 217);
/* oklch */ color: oklch(70.0% 0.163 322.5);
Tailwind
colors: {
  custom: {
    50: '#dea1e5',
    500: '#cd78d9',
    950: '#000000',
  },
}
SCSS
$custom: #cd78d9;
$custom-light: #dea1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78d9",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 217
  },
  "hsl": {
    "h": 292.577,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69957,
    "c": 0.16316,
    "h": 322.5
  },
  "luminance": 0.31422
}

Semantic roles & 50–950 ramp

primary
#CD78D9
secondary
#CAE6C6
accent
#C42236
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CD78D9

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

Preview Lab → · Contrast checker → · Palette generator →

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