#CD78DB#CD78DB

#CD78DB is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.1% C 0.165 H 321.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CD78DB
RGBrgb(205, 120, 219)
HSLhsl(292, 58%, 66%)
HSVhsv(292, 45%, 86%)
CMYKcmyk(6.4%, 45.2%, 0%, 14.1%)
CIE-LABlab(62.95, 48.46, -37.09)
CIE-LCHlch(62.95, 61.03, 322.57°)
OKLaboklab(70.05% 0.1298 -0.1022)
OKLCHoklch(70.05% 0.165 321.8)
XYZxyz(44.6781, 31.5283, 70.7362)
Luminance0.3153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78DB #86DB78
analogous
#9C78DB #CD78DB #DB78B8
triadic
#CD78DB #DBCD78 #78DBCD
tetradic
#CD78DB #DB9C78 #86DB78 #78B8DB
square
#CD78DB #DB9C78 #86DB78 #78B8DB
split-complementary
#CD78DB #B8DB78 #78DB9C
monochromatic
#992EAB #BB48CE #CD78DB #DFA8E8 #F1D9F5

Accessibility & contrast

On white

2.87
#CD78DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CD78DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78DB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78DB#FFFFFF#000000##000000
##CD78DB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DE
Deuteranopia (green-blind)
#829CD8
Tritanopia (blue-blind)
#CF849F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd78db;
/* rgb */ color: rgb(205, 120, 219);
/* oklch */ color: oklch(70.1% 0.165 321.8);
Tailwind
colors: {
  custom: {
    50: '#dea1e6',
    500: '#cd78db',
    950: '#000000',
  },
}
SCSS
$custom: #cd78db;
$custom-light: #dea1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78db",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 291.515,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70051,
    "c": 0.16516,
    "h": 321.8
  },
  "luminance": 0.31527
}

Semantic roles & 50–950 ramp

primary
#CD78DB
secondary
#CCE7C7
accent
#C52037
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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