#CD78E6#CD78E6

#CD78E6 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.6% C 0.176 H 318.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CD78E6
RGBrgb(205, 120, 230)
HSLhsl(286, 69%, 69%)
HSVhsv(286, 48%, 90%)
CMYKcmyk(10.9%, 47.8%, 0%, 9.8%)
CIE-LABlab(63.45, 50.61, -42.45)
CIE-LCHlch(63.45, 66.05, 320.02°)
OKLaboklab(70.58% 0.1315 -0.1176)
OKLCHoklch(70.58% 0.176 318.2)
XYZxyz(46.1743, 32.1268, 78.6164)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78E6 #91E678
analogous
#9678E6 #CD78E6 #E678C8
triadic
#CD78E6 #E6CD78 #78E6CD
tetradic
#CD78E6 #E69678 #91E678 #78C8E6
square
#CD78E6 #E69678 #91E678 #78C8E6
split-complementary
#CD78E6 #C8E678 #78E696
monochromatic
#9C24C0 #BA44DC #CD78E6 #E0ACF0 #F3DFF9

Accessibility & contrast

On white

2.83
#CD78E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#CD78E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78E6
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78E6#FFFFFF#000000##000000
##CD78E61.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6494EA
Deuteranopia (green-blind)
#7D9DE3
Tritanopia (blue-blind)
#CD87A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd78e6;
/* rgb */ color: rgb(205, 120, 230);
/* oklch */ color: oklch(70.6% 0.176 318.2);
Tailwind
colors: {
  custom: {
    50: '#dea1ee',
    500: '#cd78e6',
    950: '#000000',
  },
}
SCSS
$custom: #cd78e6;
$custom-light: #dea1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78e6",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 230
  },
  "hsl": {
    "h": 286.364,
    "s": 68.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70582,
    "c": 0.17637,
    "h": 318.2
  },
  "luminance": 0.32125
}

Semantic roles & 50–950 ramp

primary
#CD78E6
secondary
#D4EDCC
accent
#D11540
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD78E6

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

Preview Lab → · Contrast checker → · Palette generator →

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