#CD78F4#CD78F4

#CD78F4 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.3% C 0.191 H 314.2°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CD78F4
RGBrgb(205, 120, 244)
HSLhsl(281, 85%, 71%)
HSVhsv(281, 51%, 96%)
CMYKcmyk(16%, 50.8%, 0%, 4.3%)
CIE-LABlab(64.12, 53.45, -49.14)
CIE-LCHlch(64.12, 72.61, 317.41°)
OKLaboklab(71.3% 0.1331 -0.137)
OKLCHoklch(71.3% 0.191 314.2)
XYZxyz(48.2198, 32.9450, 89.3893)
Luminance0.3294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78F4 #9FF478
analogous
#8F78F4 #CD78F4 #F478DD
triadic
#CD78F4 #F4CD78 #78F4CD
tetradic
#CD78F4 #F48F78 #9FF478 #78DDF4
square
#CD78F4 #F48F78 #9FF478 #78DDF4
split-complementary
#CD78F4 #DDF478 #78F48F
monochromatic
#9F12DF #B83FEF #CD78F4 #E2B1F9 #F5E3FD

Accessibility & contrast

On white

2.77
#CD78F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CD78F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78F4
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78F4#FFFFFF#000000##000000
##CD78F41.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97F8
Deuteranopia (green-blind)
#769EF1
Tritanopia (blue-blind)
#CA8CAB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd78f4;
/* rgb */ color: rgb(205, 120, 244);
/* oklch */ color: oklch(71.3% 0.191 314.2);
Tailwind
colors: {
  custom: {
    50: '#dfa2f8',
    500: '#cd78f4',
    950: '#000000',
  },
}
SCSS
$custom: #cd78f4;
$custom-light: #dfa2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78f4",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 244
  },
  "hsl": {
    "h": 281.129,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71296,
    "c": 0.191,
    "h": 314.2
  },
  "luminance": 0.32944
}

Semantic roles & 50–950 ramp

primary
#CD78F4
secondary
#DEF4D4
accent
#E1044A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD78F4

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

Preview Lab → · Contrast checker → · Palette generator →

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