#CD78CB#CD78CB

#CD78CB is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.3% C 0.150 H 327.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CD78CB
RGBrgb(205, 120, 203)
HSLhsl(301, 46%, 64%)
HSVhsv(301, 41%, 80%)
CMYKcmyk(0%, 41.5%, 1%, 19.6%)
CIE-LABlab(62.28, 45.46, -29.17)
CIE-LCHlch(62.28, 54.02, 327.32°)
OKLaboklab(69.33% 0.1267 -0.0795)
OKLCHoklch(69.33% 0.15 327.9)
XYZxyz(42.6721, 30.7259, 60.1713)
Luminance0.3072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78CB #78CD7A
analogous
#A478CD #CD78CB #CD78A0
triadic
#CD78CB #CBCD78 #78CBCD
tetradic
#CD78CB #CDA478 #78CD7A #78A0CD
square
#CD78CB #CDA478 #78CD7A #78A0CD
split-complementary
#CD78CB #A0CD78 #78CDA4
monochromatic
#943792 #BC4BBA #CD78CB #DEA5DC #EED1ED

Accessibility & contrast

On white

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

On black

7.14
#CD78CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78CB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78CB#FFFFFF#000000##000000
##CD78CB1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd78cb;
/* rgb */ color: rgb(205, 120, 203);
/* oklch */ color: oklch(69.3% 0.150 327.9);
Tailwind
colors: {
  custom: {
    50: '#dea1db',
    500: '#cd78cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd78cb;
$custom-light: #dea1db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78cb",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 301.412,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69325,
    "c": 0.14958,
    "h": 327.9
  },
  "luminance": 0.30724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD78CB

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

Preview Lab → · Contrast checker → · Palette generator →

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