#CD78DF#CD78DF

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

Color values

HEX#CD78DF
RGBrgb(205, 120, 223)
HSLhsl(290, 62%, 67%)
HSVhsv(290, 46%, 87%)
CMYKcmyk(8.1%, 46.2%, 0%, 12.5%)
CIE-LABlab(63.13, 49.23, -39.05)
CIE-LCHlch(63.13, 62.84, 321.58°)
OKLaboklab(70.24% 0.1304 -0.1078)
OKLCHoklch(70.24% 0.169 320.4)
XYZxyz(45.2110, 31.7415, 73.5429)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78DF #8ADF78
analogous
#9A78DF #CD78DF #DF78BD
triadic
#CD78DF #DFCD78 #78DFCD
tetradic
#CD78DF #DF9A78 #8ADF78 #78BDDF
square
#CD78DF #DF9A78 #8ADF78 #78BDDF
split-complementary
#CD78DF #BDDF78 #78DF9A
monochromatic
#9B2AB2 #BB47D3 #CD78DF #DFA9EB #F2DBF6

Accessibility & contrast

On white

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

On black

7.35
#CD78DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78DF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78DF#FFFFFF#000000##000000
##CD78DF1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6893E3
Deuteranopia (green-blind)
#809CDC
Tritanopia (blue-blind)
#CE85A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd78df;
/* rgb */ color: rgb(205, 120, 223);
/* oklch */ color: oklch(70.2% 0.169 320.4);
Tailwind
colors: {
  custom: {
    50: '#dea1e9',
    500: '#cd78df',
    950: '#000000',
  },
}
SCSS
$custom: #cd78df;
$custom-light: #dea1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78df",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 289.515,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70241,
    "c": 0.1692,
    "h": 320.4
  },
  "luminance": 0.3174
}

Semantic roles & 50–950 ramp

primary
#CD78DF
secondary
#CFEAC9
accent
#C91C3A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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