#CD78EE#CD78EE

#CD78EE is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.0% C 0.185 H 315.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#CD78EE
RGBrgb(205, 120, 238)
HSLhsl(283, 78%, 70%)
HSVhsv(283, 50%, 93%)
CMYKcmyk(13.9%, 49.6%, 0%, 6.7%)
CIE-LABlab(63.82, 52.22, -46.29)
CIE-LCHlch(63.82, 69.78, 318.45°)
OKLaboklab(70.99% 0.1325 -0.1287)
OKLCHoklch(70.99% 0.185 315.8)
XYZxyz(47.3236, 32.5865, 84.6693)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78EE #99EE78
analogous
#9278EE #CD78EE #EE78D4
triadic
#CD78EE #EECD78 #78EECD
tetradic
#CD78EE #EE9278 #99EE78 #78D4EE
square
#CD78EE #EE9278 #99EE78 #78D4EE
split-complementary
#CD78EE #D4EE78 #78EE92
monochromatic
#9E1AD1 #B942E7 #CD78EE #E1AEF5 #F5E4FC

Accessibility & contrast

On white

2.79
#CD78EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#CD78EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78EE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78EE#FFFFFF#000000##000000
##CD78EE1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#799DEB
Tritanopia (blue-blind)
#CB8AA8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd78ee;
/* rgb */ color: rgb(205, 120, 238);
/* oklch */ color: oklch(71.0% 0.185 315.8);
Tailwind
colors: {
  custom: {
    50: '#dea1f4',
    500: '#cd78ee',
    950: '#000000',
  },
}
SCSS
$custom: #cd78ee;
$custom-light: #dea1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78ee",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 283.22,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70985,
    "c": 0.18469,
    "h": 315.8
  },
  "luminance": 0.32585
}

Semantic roles & 50–950 ramp

primary
#CD78EE
secondary
#DAF1D1
accent
#DA0C45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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