#CD78CF#CD78CF

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

Color values

HEX#CD78CF
RGBrgb(205, 120, 207)
HSLhsl(299, 48%, 64%)
HSVhsv(299, 42%, 81%)
CMYKcmyk(1%, 42%, 0%, 18.8%)
CIE-LABlab(62.44, 46.20, -31.16)
CIE-LCHlch(62.44, 55.73, 326.00°)
OKLaboklab(69.5% 0.1275 -0.0852)
OKLCHoklch(69.5% 0.153 326.2)
XYZxyz(43.1549, 30.9191, 62.7142)
Luminance0.3092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78CF #7ACF78
analogous
#A278CF #CD78CF #CF78A6
triadic
#CD78CF #CFCD78 #78CFCD
tetradic
#CD78CF #CFA278 #7ACF78 #78A6CF
square
#CD78CF #CFA278 #7ACF78 #78A6CF
split-complementary
#CD78CF #A6CF78 #78CFA2
monochromatic
#953697 #BC4BBF #CD78CF #DEA5DF #EED2EF

Accessibility & contrast

On white

2.92
#CD78CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CD78CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78CF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78CF#FFFFFF#000000##000000
##CD78CF1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7090D2
Deuteranopia (green-blind)
#879BCC
Tritanopia (blue-blind)
#D1819A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd78cf;
/* rgb */ color: rgb(205, 120, 207);
/* oklch */ color: oklch(69.5% 0.153 326.2);
Tailwind
colors: {
  custom: {
    50: '#dea1de',
    500: '#cd78cf',
    950: '#000000',
  },
}
SCSS
$custom: #cd78cf;
$custom-light: #dea1de;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78cf",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 298.621,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69501,
    "c": 0.15337,
    "h": 326.2
  },
  "luminance": 0.30917
}

Semantic roles & 50–950 ramp

primary
#CD78CF
secondary
#C3E1C2
accent
#BB2B2E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD78CF

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

Preview Lab → · Contrast checker → · Palette generator →

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