#CF79D9#CF79D9

#CF79D9 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.3% C 0.163 H 323.2°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CF79D9
RGBrgb(207, 121, 217)
HSLhsl(294, 56%, 66%)
HSVhsv(294, 44%, 85%)
CMYKcmyk(4.6%, 44.2%, 0%, 14.9%)
CIE-LABlab(63.30, 48.14, -35.41)
CIE-LCHlch(63.30, 59.76, 323.66°)
OKLaboklab(70.34% 0.1303 -0.0973)
OKLCHoklch(70.34% 0.163 323.2)
XYZxyz(45.0926, 31.9518, 69.4242)
Luminance0.3195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79D9 #83D979
analogous
#9F79D9 #CF79D9 #D979B3
triadic
#CF79D9 #D9CF79 #79D9CF
tetradic
#CF79D9 #D99F79 #83D979 #79B3D9
square
#CF79D9 #D99F79 #83D979 #79B3D9
split-complementary
#CF79D9 #B3D979 #79D99F
monochromatic
#9B30A8 #BE49CB #CF79D9 #E0A9E7 #F1D8F4

Accessibility & contrast

On white

2.84
#CF79D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CF79D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79D9
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79D9#FFFFFF#000000##000000
##CF79D91.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DC
Deuteranopia (green-blind)
#859DD6
Tritanopia (blue-blind)
#D2849F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf79d9;
/* rgb */ color: rgb(207, 121, 217);
/* oklch */ color: oklch(70.3% 0.163 323.2);
Tailwind
colors: {
  custom: {
    50: '#dfa2e5',
    500: '#cf79d9',
    950: '#000000',
  },
}
SCSS
$custom: #cf79d9;
$custom-light: #dfa2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79d9",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 293.75,
    "s": 55.814,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70336,
    "c": 0.16263,
    "h": 323.2
  },
  "luminance": 0.3195
}

Semantic roles & 50–950 ramp

primary
#CF79D9
secondary
#CAE7C7
accent
#C32233
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CF79D9

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

Preview Lab → · Contrast checker → · Palette generator →

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