#CD78F7#CD78F7

#CD78F7 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.5% C 0.194 H 313.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CD78F7
RGBrgb(205, 120, 247)
HSLhsl(280, 89%, 72%)
HSVhsv(280, 51%, 97%)
CMYKcmyk(17%, 51.4%, 0%, 3.1%)
CIE-LABlab(64.27, 54.07, -50.56)
CIE-LCHlch(64.27, 74.03, 316.92°)
OKLaboklab(71.45% 0.1334 -0.1411)
OKLCHoklch(71.45% 0.194 313.4)
XYZxyz(48.6790, 33.1287, 91.8078)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78F7 #A2F778
analogous
#8D78F7 #CD78F7 #F778E2
triadic
#CD78F7 #F7CD78 #78F7CD
tetradic
#CD78F7 #F78D78 #A2F778 #78E2F7
square
#CD78F7 #F78D78 #A2F778 #78E2F7
split-complementary
#CD78F7 #E2F778 #78F78D
monochromatic
#9F0EE7 #B83EF4 #CD78F7 #E2B2FA #F4E2FD

Accessibility & contrast

On white

2.75
#CD78F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CD78F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78F7
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78F7#FFFFFF#000000##000000
##CD78F71.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#C98CAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd78f7;
/* rgb */ color: rgb(205, 120, 247);
/* oklch */ color: oklch(71.5% 0.194 313.4);
Tailwind
colors: {
  custom: {
    50: '#dfa2fa',
    500: '#cd78f7',
    950: '#000000',
  },
}
SCSS
$custom: #cd78f7;
$custom-light: #dfa2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78f7",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 280.157,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71454,
    "c": 0.19417,
    "h": 313.4
  },
  "luminance": 0.33127
}

Semantic roles & 50–950 ramp

primary
#CD78F7
secondary
#E0F5D5
accent
#E5004C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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