#CD78CA#CD78CA

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

Color values

HEX#CD78CA
RGBrgb(205, 120, 202)
HSLhsl(302, 46%, 64%)
HSVhsv(302, 41%, 80%)
CMYKcmyk(0%, 41.5%, 1.5%, 19.6%)
CIE-LABlab(62.24, 45.28, -28.67)
CIE-LCHlch(62.24, 53.59, 327.66°)
OKLaboklab(69.28% 0.1265 -0.0781)
OKLCHoklch(69.28% 0.149 328.3)
XYZxyz(42.5533, 30.6784, 59.5457)
Luminance0.3068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78CA #78CD7B
analogous
#A578CD #CD78CA #CD789F
triadic
#CD78CA #CACD78 #78CACD
tetradic
#CD78CA #CDA578 #78CD7B #789FCD
square
#CD78CA #CDA578 #78CD7B #789FCD
split-complementary
#CD78CA #9FCD78 #78CDA5
monochromatic
#943791 #BC4BB8 #CD78CA #DEA5DC #EED1ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD78CA#FFFFFF#000000##000000
##CD78CA1.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)
#728FCD
Deuteranopia (green-blind)
#899AC7
Tritanopia (blue-blind)
#D28098
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd78ca;
/* rgb */ color: rgb(205, 120, 202);
/* oklch */ color: oklch(69.3% 0.149 328.3);
Tailwind
colors: {
  custom: {
    50: '#dea1da',
    500: '#cd78ca',
    950: '#000000',
  },
}
SCSS
$custom: #cd78ca;
$custom-light: #dea1da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78ca",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 302.118,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69281,
    "c": 0.14864,
    "h": 328.3
  },
  "luminance": 0.30676
}

Semantic roles & 50–950 ramp

primary
#CD78CA
secondary
#C1DFC2
accent
#B9312C
background
#FDFAFD
surface
#FBF3FA
border
#D4CDD3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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