#CD78F3#CD78F3

#CD78F3 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.2% C 0.190 H 314.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CD78F3
RGBrgb(205, 120, 243)
HSLhsl(281, 84%, 71%)
HSVhsv(281, 51%, 95%)
CMYKcmyk(15.6%, 50.6%, 0%, 4.7%)
CIE-LABlab(64.07, 53.24, -48.67)
CIE-LCHlch(64.07, 72.13, 317.57°)
OKLaboklab(71.24% 0.133 -0.1356)
OKLCHoklch(71.24% 0.19 314.4)
XYZxyz(48.0684, 32.8845, 88.5918)
Luminance0.3288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78F3 #9EF378
analogous
#8F78F3 #CD78F3 #F378DC
triadic
#CD78F3 #F3CD78 #78F3CD
tetradic
#CD78F3 #F38F78 #9EF378 #78DCF3
square
#CD78F3 #F38F78 #9EF378 #78DCF3
split-complementary
#CD78F3 #DCF378 #78F38F
monochromatic
#9F14DD #B840EE #CD78F3 #E2B0F8 #F5E3FD

Accessibility & contrast

On white

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

On black

7.58
#CD78F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78F3
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78F3#FFFFFF#000000##000000
##CD78F31.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F7
Deuteranopia (green-blind)
#769EF0
Tritanopia (blue-blind)
#CA8BAB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd78f3;
/* rgb */ color: rgb(205, 120, 243);
/* oklch */ color: oklch(71.2% 0.190 314.4);
Tailwind
colors: {
  custom: {
    50: '#dfa2f7',
    500: '#cd78f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd78f3;
$custom-light: #dfa2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78f3",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 281.463,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71243,
    "c": 0.18995,
    "h": 314.4
  },
  "luminance": 0.32883
}

Semantic roles & 50–950 ramp

primary
#CD78F3
secondary
#DDF4D3
accent
#E00549
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD78F3

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

Preview Lab → · Contrast checker → · Palette generator →

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