#CD78ED#CD78ED

#CD78ED is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.9% C 0.184 H 316.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CD78ED
RGBrgb(205, 120, 237)
HSLhsl(284, 76%, 70%)
HSVhsv(284, 49%, 93%)
CMYKcmyk(13.5%, 49.4%, 0%, 7.1%)
CIE-LABlab(63.78, 52.02, -45.81)
CIE-LCHlch(63.78, 69.31, 318.63°)
OKLaboklab(70.93% 0.1324 -0.1273)
OKLCHoklch(70.93% 0.184 316.1)
XYZxyz(47.1771, 32.5279, 83.8977)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78ED #98ED78
analogous
#9378ED #CD78ED #ED78D2
triadic
#CD78ED #EDCD78 #78EDCD
tetradic
#CD78ED #ED9378 #98ED78 #78D2ED
square
#CD78ED #ED9378 #98ED78 #78D2ED
split-complementary
#CD78ED #D2ED78 #78ED93
monochromatic
#9E1CCF #B942E6 #CD78ED #E1AEF4 #F5E4FB

Accessibility & contrast

On white

2.80
#CD78ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CD78ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78ED
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78ED#FFFFFF#000000##000000
##CD78ED1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F1
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#CC89A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd78ed;
/* rgb */ color: rgb(205, 120, 237);
/* oklch */ color: oklch(70.9% 0.184 316.1);
Tailwind
colors: {
  custom: {
    50: '#dea1f3',
    500: '#cd78ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd78ed;
$custom-light: #dea1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78ed",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 283.59,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.70934,
    "c": 0.18365,
    "h": 316.1
  },
  "luminance": 0.32527
}

Semantic roles & 50–950 ramp

primary
#CD78ED
secondary
#D9F1D0
accent
#D90D45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD78ED

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

Preview Lab → · Contrast checker → · Palette generator →

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