#CD78F0#CD78F0

#CD78F0 is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.1% C 0.187 H 315.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CD78F0
RGBrgb(205, 120, 240)
HSLhsl(283, 80%, 71%)
HSVhsv(283, 50%, 94%)
CMYKcmyk(14.6%, 50%, 0%, 5.9%)
CIE-LABlab(63.92, 52.63, -47.24)
CIE-LCHlch(63.92, 70.72, 318.09°)
OKLaboklab(71.09% 0.1327 -0.1315)
OKLCHoklch(71.09% 0.187 315.3)
XYZxyz(47.6190, 32.7047, 86.2254)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78F0 #9BF078
analogous
#9178F0 #CD78F0 #F078D7
triadic
#CD78F0 #F0CD78 #78F0CD
tetradic
#CD78F0 #F09178 #9BF078 #78D7F0
square
#CD78F0 #F09178 #9BF078 #78D7F0
split-complementary
#CD78F0 #D7F078 #78F091
monochromatic
#9E18D6 #B941EA #CD78F0 #E1AFF6 #F5E3FC

Accessibility & contrast

On white

2.78
#CD78F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#CD78F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78F0
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78F0#FFFFFF#000000##000000
##CD78F01.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E96F4
Deuteranopia (green-blind)
#789DED
Tritanopia (blue-blind)
#CB8AA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd78f0;
/* rgb */ color: rgb(205, 120, 240);
/* oklch */ color: oklch(71.1% 0.187 315.3);
Tailwind
colors: {
  custom: {
    50: '#dea2f5',
    500: '#cd78f0',
    950: '#000000',
  },
}
SCSS
$custom: #cd78f0;
$custom-light: #dea2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78f0",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 240
  },
  "hsl": {
    "h": 282.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71088,
    "c": 0.18679,
    "h": 315.3
  },
  "luminance": 0.32703
}

Semantic roles & 50–950 ramp

primary
#CD78F0
secondary
#DBF2D2
accent
#DC0947
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD78F0

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

Preview Lab → · Contrast checker → · Palette generator →

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