#CD78F6#CD78F6

#CD78F6 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.4% C 0.193 H 313.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CD78F6
RGBrgb(205, 120, 246)
HSLhsl(280, 88%, 72%)
HSVhsv(280, 51%, 96%)
CMYKcmyk(16.7%, 51.2%, 0%, 3.5%)
CIE-LABlab(64.22, 53.86, -50.09)
CIE-LCHlch(64.22, 73.55, 317.08°)
OKLaboklab(71.4% 0.1333 -0.1397)
OKLCHoklch(71.4% 0.193 313.7)
XYZxyz(48.5251, 33.0671, 90.9973)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78F6 #A1F678
analogous
#8E78F6 #CD78F6 #F678E0
triadic
#CD78F6 #F6CD78 #78F6CD
tetradic
#CD78F6 #F68E78 #A1F678 #78E0F6
square
#CD78F6 #F68E78 #A1F678 #78E0F6
split-complementary
#CD78F6 #E0F678 #78F68E
monochromatic
#9F0FE4 #B83FF2 #CD78F6 #E2B1FA #F4E2FD

Accessibility & contrast

On white

2.76
#CD78F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CD78F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78F6
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78F6#FFFFFF#000000##000000
##CD78F61.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#749EF3
Tritanopia (blue-blind)
#C98CAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd78f6;
/* rgb */ color: rgb(205, 120, 246);
/* oklch */ color: oklch(71.4% 0.193 313.7);
Tailwind
colors: {
  custom: {
    50: '#dfa2fa',
    500: '#cd78f6',
    950: '#000000',
  },
}
SCSS
$custom: #cd78f6;
$custom-light: #dfa2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78f6",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 280.476,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71401,
    "c": 0.19311,
    "h": 313.7
  },
  "luminance": 0.33066
}

Semantic roles & 50–950 ramp

primary
#CD78F6
secondary
#DFF5D5
accent
#E4014B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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