#CD78E3#CD78E3

#CD78E3 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.4% C 0.173 H 319.1°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CD78E3
RGBrgb(205, 120, 227)
HSLhsl(288, 66%, 68%)
HSVhsv(288, 47%, 89%)
CMYKcmyk(9.7%, 47.1%, 0%, 11%)
CIE-LABlab(63.31, 50.02, -40.99)
CIE-LCHlch(63.31, 64.67, 320.66°)
OKLaboklab(70.44% 0.131 -0.1134)
OKLCHoklch(70.44% 0.173 319.1)
XYZxyz(45.7566, 31.9598, 76.4167)
Luminance0.3196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78E3 #8EE378
analogous
#9878E3 #CD78E3 #E378C3
triadic
#CD78E3 #E3CD78 #78E3CD
tetradic
#CD78E3 #E39878 #8EE378 #78C3E3
square
#CD78E3 #E39878 #8EE378 #78C3E3
split-complementary
#CD78E3 #C3E378 #78E398
monochromatic
#9C27BA #BA45D8 #CD78E3 #E0ABEE #F3DDF8

Accessibility & contrast

On white

2.84
#CD78E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CD78E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78E3
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78E3#FFFFFF#000000##000000
##CD78E31.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6693E7
Deuteranopia (green-blind)
#7F9CE0
Tritanopia (blue-blind)
#CE87A3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd78e3;
/* rgb */ color: rgb(205, 120, 227);
/* oklch */ color: oklch(70.4% 0.173 319.1);
Tailwind
colors: {
  custom: {
    50: '#dea1ec',
    500: '#cd78e3',
    950: '#000000',
  },
}
SCSS
$custom: #cd78e3;
$custom-light: #dea1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78e3",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 227
  },
  "hsl": {
    "h": 287.664,
    "s": 65.644,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70435,
    "c": 0.17329,
    "h": 319.1
  },
  "luminance": 0.31958
}

Semantic roles & 50–950 ramp

primary
#CD78E3
secondary
#D2ECCB
accent
#CD183D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD78E3

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

Preview Lab → · Contrast checker → · Palette generator →

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