#CD78E5#CD78E5

#CD78E5 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.175 H 318.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CD78E5
RGBrgb(205, 120, 229)
HSLhsl(287, 68%, 68%)
HSVhsv(287, 48%, 90%)
CMYKcmyk(10.5%, 47.6%, 0%, 10.2%)
CIE-LABlab(63.40, 50.41, -41.96)
CIE-LCHlch(63.40, 65.59, 320.23°)
OKLaboklab(70.53% 0.1313 -0.1162)
OKLCHoklch(70.53% 0.175 318.5)
XYZxyz(46.0343, 32.0708, 77.8789)
Luminance0.3207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78E5 #90E578
analogous
#9678E5 #CD78E5 #E578C6
triadic
#CD78E5 #E5CD78 #78E5CD
tetradic
#CD78E5 #E59678 #90E578 #78C6E5
square
#CD78E5 #E59678 #90E578 #78C6E5
split-complementary
#CD78E5 #C6E578 #78E596
monochromatic
#9C25BE #BA45DB #CD78E5 #E0ABEF #F3DFF9

Accessibility & contrast

On white

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

On black

7.41
#CD78E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78E5
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78E5#FFFFFF#000000##000000
##CD78E51.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6594E9
Deuteranopia (green-blind)
#7E9CE2
Tritanopia (blue-blind)
#CD87A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd78e5;
/* rgb */ color: rgb(205, 120, 229);
/* oklch */ color: oklch(70.5% 0.175 318.5);
Tailwind
colors: {
  custom: {
    50: '#dea1ed',
    500: '#cd78e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd78e5;
$custom-light: #dea1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78e5",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 229
  },
  "hsl": {
    "h": 286.789,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70533,
    "c": 0.17534,
    "h": 318.5
  },
  "luminance": 0.32069
}

Semantic roles & 50–950 ramp

primary
#CD78E5
secondary
#D3EDCC
accent
#D0163F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD78E5

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

Preview Lab → · Contrast checker → · Palette generator →

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