#CD78EA#CD78EA

#CD78EA is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.181 H 317.0°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CD78EA
RGBrgb(205, 120, 234)
HSLhsl(285, 73%, 69%)
HSVhsv(285, 49%, 92%)
CMYKcmyk(12.4%, 48.7%, 0%, 8.2%)
CIE-LABlab(63.63, 51.41, -44.37)
CIE-LCHlch(63.63, 67.91, 319.20°)
OKLaboklab(70.78% 0.132 -0.1231)
OKLCHoklch(70.78% 0.181 317)
XYZxyz(46.7424, 32.3541, 81.6087)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78EA #95EA78
analogous
#9478EA #CD78EA #EA78CE
triadic
#CD78EA #EACD78 #78EACD
tetradic
#CD78EA #EA9478 #95EA78 #78CEEA
square
#CD78EA #EA9478 #95EA78 #78CEEA
split-complementary
#CD78EA #CEEA78 #78EA94
monochromatic
#9D1FC8 #B943E2 #CD78EA #E1ADF2 #F4E2FA

Accessibility & contrast

On white

2.81
#CD78EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CD78EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78EA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78EA#FFFFFF#000000##000000
##CD78EA1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#7B9DE7
Tritanopia (blue-blind)
#CC89A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd78ea;
/* rgb */ color: rgb(205, 120, 234);
/* oklch */ color: oklch(70.8% 0.181 317.0);
Tailwind
colors: {
  custom: {
    50: '#dea1f1',
    500: '#cd78ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd78ea;
$custom-light: #dea1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78ea",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 284.737,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70782,
    "c": 0.18051,
    "h": 317
  },
  "luminance": 0.32353
}

Semantic roles & 50–950 ramp

primary
#CD78EA
secondary
#D7EFCE
accent
#D51042
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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