#CD78CD#CD78CD

#CD78CD is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.4% C 0.151 H 327.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CD78CD
RGBrgb(205, 120, 205)
HSLhsl(300, 46%, 64%)
HSVhsv(300, 41%, 80%)
CMYKcmyk(0%, 41.5%, 0%, 19.6%)
CIE-LABlab(62.36, 45.83, -30.17)
CIE-LCHlch(62.36, 54.87, 326.65°)
OKLaboklab(69.41% 0.1271 -0.0824)
OKLCHoklch(69.41% 0.151 327.1)
XYZxyz(42.9119, 30.8219, 61.4346)
Luminance0.3082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78CD #78CD78
analogous
#A278CD #CD78CD #CD78A2
triadic
#CD78CD #CDCD78 #78CDCD
tetradic
#CD78CD #CDA278 #78CD78 #78A2CD
square
#CD78CD #CDA278 #78CD78 #78A2CD
split-complementary
#CD78CD #A2CD78 #78CDA2
monochromatic
#943794 #BC4BBC #CD78CD #DEA5DE #EED1EE

Accessibility & contrast

On white

2.93
#CD78CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CD78CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78CD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78CD#FFFFFF#000000##000000
##CD78CD1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D0
Deuteranopia (green-blind)
#889BCA
Tritanopia (blue-blind)
#D28099
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd78cd;
/* rgb */ color: rgb(205, 120, 205);
/* oklch */ color: oklch(69.4% 0.151 327.1);
Tailwind
colors: {
  custom: {
    50: '#dea1dc',
    500: '#cd78cd',
    950: '#000000',
  },
}
SCSS
$custom: #cd78cd;
$custom-light: #dea1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78cd",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69412,
    "c": 0.15146,
    "h": 327.1
  },
  "luminance": 0.3082
}

Semantic roles & 50–950 ramp

primary
#CD78CD
secondary
#C1DFC1
accent
#B92C2C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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