#CD78CC#CD78CC

#CD78CC is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.4% C 0.151 H 327.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CD78CC
RGBrgb(205, 120, 204)
HSLhsl(301, 46%, 64%)
HSVhsv(301, 41%, 80%)
CMYKcmyk(0%, 41.5%, 0.5%, 19.6%)
CIE-LABlab(62.32, 45.65, -29.67)
CIE-LCHlch(62.32, 54.44, 326.98°)
OKLaboklab(69.37% 0.1269 -0.0809)
OKLCHoklch(69.37% 0.151 327.5)
XYZxyz(42.7916, 30.7738, 60.8010)
Luminance0.3077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78CC #78CD79
analogous
#A378CD #CD78CC #CD78A1
triadic
#CD78CC #CCCD78 #78CCCD
tetradic
#CD78CC #CDA378 #78CD79 #78A1CD
square
#CD78CC #CDA378 #78CD79 #78A1CD
split-complementary
#CD78CC #A1CD78 #78CDA3
monochromatic
#943793 #BC4BBB #CD78CC #DEA5DD #EED1EE

Accessibility & contrast

On white

2.94
#CD78CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CD78CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78CC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78CC#FFFFFF#000000##000000
##CD78CC1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290CF
Deuteranopia (green-blind)
#899BC9
Tritanopia (blue-blind)
#D28098
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd78cc;
/* rgb */ color: rgb(205, 120, 204);
/* oklch */ color: oklch(69.4% 0.151 327.5);
Tailwind
colors: {
  custom: {
    50: '#dea1db',
    500: '#cd78cc',
    950: '#000000',
  },
}
SCSS
$custom: #cd78cc;
$custom-light: #dea1db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78cc",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 300.706,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69368,
    "c": 0.15051,
    "h": 327.5
  },
  "luminance": 0.30772
}

Semantic roles & 50–950 ramp

primary
#CD78CC
secondary
#C1DFC2
accent
#B92E2C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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