#CD78CE#CD78CE

#CD78CE is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.5% C 0.152 H 326.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CD78CE
RGBrgb(205, 120, 206)
HSLhsl(299, 47%, 64%)
HSVhsv(299, 42%, 81%)
CMYKcmyk(0.5%, 41.7%, 0%, 19.2%)
CIE-LABlab(62.40, 46.01, -30.67)
CIE-LCHlch(62.40, 55.30, 326.32°)
OKLaboklab(69.46% 0.1273 -0.0838)
OKLCHoklch(69.46% 0.152 326.6)
XYZxyz(43.0330, 30.8703, 62.0724)
Luminance0.3087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78CE #79CE78
analogous
#A278CE #CD78CE #CE78A4
triadic
#CD78CE #CECD78 #78CECD
tetradic
#CD78CE #CEA278 #79CE78 #78A4CE
square
#CD78CE #CEA278 #79CE78 #78A4CE
split-complementary
#CD78CE #A4CE78 #78CEA2
monochromatic
#943695 #BC4BBE #CD78CE #DEA5DE #EED2EF

Accessibility & contrast

On white

2.93
#CD78CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CD78CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78CE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78CE#FFFFFF#000000##000000
##CD78CE1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D1
Deuteranopia (green-blind)
#889BCB
Tritanopia (blue-blind)
#D28199
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd78ce;
/* rgb */ color: rgb(205, 120, 206);
/* oklch */ color: oklch(69.5% 0.152 326.6);
Tailwind
colors: {
  custom: {
    50: '#dea1dd',
    500: '#cd78ce',
    950: '#000000',
  },
}
SCSS
$custom: #cd78ce;
$custom-light: #dea1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78ce",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 299.302,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69456,
    "c": 0.15241,
    "h": 326.6
  },
  "luminance": 0.30868
}

Semantic roles & 50–950 ramp

primary
#CD78CE
secondary
#C2E0C2
accent
#BA2C2D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD78CE

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

Preview Lab → · Contrast checker → · Palette generator →

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