#CD78DD#CD78DD

#CD78DD is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.1% C 0.167 H 321.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CD78DD
RGBrgb(205, 120, 221)
HSLhsl(290, 60%, 67%)
HSVhsv(290, 46%, 87%)
CMYKcmyk(7.2%, 45.7%, 0%, 13.3%)
CIE-LABlab(63.04, 48.85, -38.07)
CIE-LCHlch(63.04, 61.93, 322.06°)
OKLaboklab(70.15% 0.1301 -0.105)
OKLCHoklch(70.15% 0.167 321.1)
XYZxyz(44.9429, 31.6343, 72.1312)
Luminance0.3163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78DD #88DD78
analogous
#9B78DD #CD78DD #DD78BB
triadic
#CD78DD #DDCD78 #78DDCD
tetradic
#CD78DD #DD9B78 #88DD78 #78BBDD
square
#CD78DD #DD9B78 #88DD78 #78BBDD
split-complementary
#CD78DD #BBDD78 #78DD9B
monochromatic
#9A2CAF #BB47D1 #CD78DD #DFA9E9 #F1DAF6

Accessibility & contrast

On white

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

On black

7.33
#CD78DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78DD
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78DD#FFFFFF#000000##000000
##CD78DD1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992E1
Deuteranopia (green-blind)
#819CDA
Tritanopia (blue-blind)
#CF85A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd78dd;
/* rgb */ color: rgb(205, 120, 221);
/* oklch */ color: oklch(70.1% 0.167 321.1);
Tailwind
colors: {
  custom: {
    50: '#dea1e8',
    500: '#cd78dd',
    950: '#000000',
  },
}
SCSS
$custom: #cd78dd;
$custom-light: #dea1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78dd",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 290.495,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70145,
    "c": 0.16717,
    "h": 321.1
  },
  "luminance": 0.31633
}

Semantic roles & 50–950 ramp

primary
#CD78DD
secondary
#CDE9C8
accent
#C71E39
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD78DD

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

Preview Lab → · Contrast checker → · Palette generator →

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