#CD78DE#CD78DE

#CD78DE is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.2% C 0.168 H 320.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CD78DE
RGBrgb(205, 120, 222)
HSLhsl(290, 61%, 67%)
HSVhsv(290, 46%, 87%)
CMYKcmyk(7.7%, 45.9%, 0%, 12.9%)
CIE-LABlab(63.08, 49.04, -38.56)
CIE-LCHlch(63.08, 62.39, 321.82°)
OKLaboklab(70.19% 0.1303 -0.1064)
OKLCHoklch(70.19% 0.168 320.8)
XYZxyz(45.0766, 31.6877, 72.8350)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78DE #89DE78
analogous
#9A78DE #CD78DE #DE78BC
triadic
#CD78DE #DECD78 #78DECD
tetradic
#CD78DE #DE9A78 #89DE78 #78BCDE
square
#CD78DE #DE9A78 #89DE78 #78BCDE
split-complementary
#CD78DE #BCDE78 #78DE9A
monochromatic
#9A2BB0 #BB47D2 #CD78DE #DFA9EA #F1DAF6

Accessibility & contrast

On white

2.86
#CD78DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CD78DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78DE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78DE#FFFFFF#000000##000000
##CD78DE1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6993E2
Deuteranopia (green-blind)
#819CDB
Tritanopia (blue-blind)
#CF85A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd78de;
/* rgb */ color: rgb(205, 120, 222);
/* oklch */ color: oklch(70.2% 0.168 320.8);
Tailwind
colors: {
  custom: {
    50: '#dea1e8',
    500: '#cd78de',
    950: '#000000',
  },
}
SCSS
$custom: #cd78de;
$custom-light: #dea1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78de",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 290,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70193,
    "c": 0.16819,
    "h": 320.8
  },
  "luminance": 0.31686
}

Semantic roles & 50–950 ramp

primary
#CD78DE
secondary
#CEE9C9
accent
#C81D3A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD78DE

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

Preview Lab → · Contrast checker → · Palette generator →

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