#CD78EB#CD78EB

#CD78EB is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.182 H 316.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CD78EB
RGBrgb(205, 120, 235)
HSLhsl(284, 74%, 70%)
HSVhsv(284, 49%, 92%)
CMYKcmyk(12.8%, 48.9%, 0%, 7.8%)
CIE-LABlab(63.68, 51.61, -44.85)
CIE-LCHlch(63.68, 68.38, 319.01°)
OKLaboklab(70.83% 0.1321 -0.1245)
OKLCHoklch(70.83% 0.182 316.7)
XYZxyz(46.8865, 32.4117, 82.3674)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78EB #96EB78
analogous
#9478EB #CD78EB #EB78D0
triadic
#CD78EB #EBCD78 #78EBCD
tetradic
#CD78EB #EB9478 #96EB78 #78D0EB
square
#CD78EB #EB9478 #96EB78 #78D0EB
split-complementary
#CD78EB #D0EB78 #78EB94
monochromatic
#9E1ECB #B943E3 #CD78EB #E1ADF3 #F4E3FB

Accessibility & contrast

On white

2.81
#CD78EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CD78EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78EB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78EB#FFFFFF#000000##000000
##CD78EB1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#CC89A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd78eb;
/* rgb */ color: rgb(205, 120, 235);
/* oklch */ color: oklch(70.8% 0.182 316.7);
Tailwind
colors: {
  custom: {
    50: '#dea1f2',
    500: '#cd78eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd78eb;
$custom-light: #dea1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78eb",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 284.348,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70832,
    "c": 0.18156,
    "h": 316.7
  },
  "luminance": 0.3241
}

Semantic roles & 50–950 ramp

primary
#CD78EB
secondary
#D8F0CF
accent
#D60F43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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