#CF78DC#CF78DC

#CF78DC is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.3% C 0.167 H 322.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CF78DC
RGBrgb(207, 120, 220)
HSLhsl(292, 59%, 67%)
HSVhsv(292, 45%, 86%)
CMYKcmyk(5.9%, 45.5%, 0%, 13.7%)
CIE-LABlab(63.23, 49.23, -37.19)
CIE-LCHlch(63.23, 61.70, 322.93°)
OKLaboklab(70.33% 0.1322 -0.1024)
OKLCHoklch(70.33% 0.167 322.2)
XYZxyz(45.3655, 31.8675, 71.4577)
Luminance0.3187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78DC #85DC78
analogous
#9D78DC #CF78DC #DC78B7
triadic
#CF78DC #DCCF78 #78DCCF
tetradic
#CF78DC #DC9D78 #85DC78 #78B7DC
square
#CF78DC #DC9D78 #85DC78 #78B7DC
split-complementary
#CF78DC #B7DC78 #78DC9D
monochromatic
#9C2DAD #BE47CF #CF78DC #E0A9E9 #F2D9F5

Accessibility & contrast

On white

2.85
#CF78DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CF78DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78DC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78DC#FFFFFF#000000##000000
##CF78DC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93DF
Deuteranopia (green-blind)
#839DD9
Tritanopia (blue-blind)
#D284A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf78dc;
/* rgb */ color: rgb(207, 120, 220);
/* oklch */ color: oklch(70.3% 0.167 322.2);
Tailwind
colors: {
  custom: {
    50: '#dfa1e7',
    500: '#cf78dc',
    950: '#000000',
  },
}
SCSS
$custom: #cf78dc;
$custom-light: #dfa1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78dc",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 292.2,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70327,
    "c": 0.16726,
    "h": 322.2
  },
  "luminance": 0.31866
}

Semantic roles & 50–950 ramp

primary
#CF78DC
secondary
#CCE8C8
accent
#C61F35
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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