#CD78D2#CD78D2

#CD78D2 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.6% C 0.156 H 325.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CD78D2
RGBrgb(205, 120, 210)
HSLhsl(297, 50%, 65%)
HSVhsv(297, 43%, 82%)
CMYKcmyk(2.4%, 42.9%, 0%, 17.6%)
CIE-LABlab(62.56, 46.75, -32.66)
CIE-LCHlch(62.56, 57.03, 325.07°)
OKLaboklab(69.64% 0.1281 -0.0895)
OKLCHoklch(69.64% 0.156 325.1)
XYZxyz(43.5251, 31.0672, 64.6642)
Luminance0.3106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78D2 #7DD278
analogous
#A078D2 #CD78D2 #D278AA
triadic
#CD78D2 #D2CD78 #78D2CD
tetradic
#CD78D2 #D2A078 #7DD278 #78AAD2
square
#CD78D2 #D2A078 #7DD278 #78AAD2
split-complementary
#CD78D2 #AAD278 #78D2A0
monochromatic
#96349C #BC4AC3 #CD78D2 #DEA6E1 #EFD4F1

Accessibility & contrast

On white

2.91
#CD78D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CD78D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78D2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78D2#FFFFFF#000000##000000
##CD78D21.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F91D5
Deuteranopia (green-blind)
#869BCF
Tritanopia (blue-blind)
#D1829B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd78d2;
/* rgb */ color: rgb(205, 120, 210);
/* oklch */ color: oklch(69.6% 0.156 325.1);
Tailwind
colors: {
  custom: {
    50: '#dea1e0',
    500: '#cd78d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd78d2;
$custom-light: #dea1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78d2",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 296.667,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69635,
    "c": 0.15626,
    "h": 325.1
  },
  "luminance": 0.31065
}

Semantic roles & 50–950 ramp

primary
#CD78D2
secondary
#C5E2C3
accent
#BD2830
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD78D2

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

Preview Lab → · Contrast checker → · Palette generator →

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