#CD78BF#CD78BF

#CD78BF is a light, vivid purple. Relative luminance 0.302; OKLCH L 68.8% C 0.139 H 333.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CD78BF
RGBrgb(205, 120, 191)
HSLhsl(310, 46%, 64%)
HSVhsv(310, 41%, 80%)
CMYKcmyk(0%, 41.5%, 6.8%, 19.6%)
CIE-LABlab(61.81, 43.33, -23.11)
CIE-LCHlch(61.81, 49.11, 331.93°)
OKLaboklab(68.82% 0.1239 -0.0624)
OKLCHoklch(68.82% 0.139 333.3)
XYZxyz(41.2970, 30.1759, 52.9294)
Luminance0.3017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78BF #78CD86
analogous
#B078CD #CD78BF #CD7894
triadic
#CD78BF #BFCD78 #78BFCD
tetradic
#CD78BF #CDB078 #78CD86 #7894CD
square
#CD78BF #CDB078 #78CD86 #7894CD
split-complementary
#CD78BF #94CD78 #78CDB0
monochromatic
#943785 #BC4BAA #CD78BF #DEA5D4 #EED1E9

Accessibility & contrast

On white

2.99
#CD78BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CD78BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78BF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78BF#FFFFFF#000000##000000
##CD78BF1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#778EC2
Deuteranopia (green-blind)
#8D9ABC
Tritanopia (blue-blind)
#D47D93
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd78bf;
/* rgb */ color: rgb(205, 120, 191);
/* oklch */ color: oklch(68.8% 0.139 333.3);
Tailwind
colors: {
  custom: {
    50: '#dea1d2',
    500: '#cd78bf',
    950: '#000000',
  },
}
SCSS
$custom: #cd78bf;
$custom-light: #dea1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78bf",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 309.882,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68818,
    "c": 0.13872,
    "h": 333.3
  },
  "luminance": 0.30174
}

Semantic roles & 50–950 ramp

primary
#CD78BF
secondary
#C1DFC6
accent
#B9442C
background
#FDFAFC
surface
#FBF3F9
border
#D4CDD2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CD78BF

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

Preview Lab → · Contrast checker → · Palette generator →

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