#CD78E7#CD78E7

#CD78E7 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.6% C 0.177 H 317.9°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CD78E7
RGBrgb(205, 120, 231)
HSLhsl(286, 70%, 69%)
HSVhsv(286, 48%, 91%)
CMYKcmyk(11.3%, 48.1%, 0%, 9.4%)
CIE-LABlab(63.49, 50.81, -42.93)
CIE-LCHlch(63.49, 66.52, 319.81°)
OKLaboklab(70.63% 0.1316 -0.119)
OKLCHoklch(70.63% 0.177 317.9)
XYZxyz(46.3151, 32.1832, 79.3581)
Luminance0.3218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78E7 #92E778
analogous
#9678E7 #CD78E7 #E778CA
triadic
#CD78E7 #E7CD78 #78E7CD
tetradic
#CD78E7 #E79678 #92E778 #78CAE7
square
#CD78E7 #E79678 #92E778 #78CAE7
split-complementary
#CD78E7 #CAE778 #78E796
monochromatic
#9D23C2 #BA44DE #CD78E7 #E0ACF0 #F3E0F9

Accessibility & contrast

On white

2.82
#CD78E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CD78E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78E7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78E7#FFFFFF#000000##000000
##CD78E71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6494EB
Deuteranopia (green-blind)
#7D9DE4
Tritanopia (blue-blind)
#CD88A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd78e7;
/* rgb */ color: rgb(205, 120, 231);
/* oklch */ color: oklch(70.6% 0.177 317.9);
Tailwind
colors: {
  custom: {
    50: '#dea1ef',
    500: '#cd78e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd78e7;
$custom-light: #dea1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78e7",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 285.946,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70632,
    "c": 0.1774,
    "h": 317.9
  },
  "luminance": 0.32182
}

Semantic roles & 50–950 ramp

primary
#CD78E7
secondary
#D5EECD
accent
#D21440
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD78E7

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

Preview Lab → · Contrast checker → · Palette generator →

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