#CF79DC#CF79DC

#CF79DC is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.166 H 322.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CF79DC
RGBrgb(207, 121, 220)
HSLhsl(292, 59%, 67%)
HSVhsv(292, 45%, 86%)
CMYKcmyk(5.9%, 45%, 0%, 13.7%)
CIE-LABlab(63.43, 48.71, -36.88)
CIE-LCHlch(63.43, 61.10, 322.87°)
OKLaboklab(70.48% 0.1308 -0.1015)
OKLCHoklch(70.48% 0.166 322.2)
XYZxyz(45.4864, 32.1093, 71.4980)
Luminance0.3211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79DC #86DC79
analogous
#9E79DC #CF79DC #DC79B8
triadic
#CF79DC #DCCF79 #79DCCF
tetradic
#CF79DC #DC9E79 #86DC79 #79B8DC
square
#CF79DC #DC9E79 #86DC79 #79B8DC
split-complementary
#CF79DC #B8DC79 #79DC9E
monochromatic
#9D2DAD #BE48CF #CF79DC #E0AAE9 #F2DAF5

Accessibility & contrast

On white

2.83
#CF79DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#CF79DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79DC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79DC#FFFFFF#000000##000000
##CF79DC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DF
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#D185A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf79dc;
/* rgb */ color: rgb(207, 121, 220);
/* oklch */ color: oklch(70.5% 0.166 322.2);
Tailwind
colors: {
  custom: {
    50: '#dfa2e7',
    500: '#cf79dc',
    950: '#000000',
  },
}
SCSS
$custom: #cf79dc;
$custom-light: #dfa2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79dc",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 292.121,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70476,
    "c": 0.1656,
    "h": 322.2
  },
  "luminance": 0.32107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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