#CF79C8#CF79C8

#CF79C8 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.6% C 0.146 H 330.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CF79C8
RGBrgb(207, 121, 200)
HSLhsl(305, 47%, 64%)
HSVhsv(305, 42%, 81%)
CMYKcmyk(0%, 41.5%, 3.4%, 18.8%)
CIE-LABlab(62.60, 45.02, -26.95)
CIE-LCHlch(62.60, 52.47, 329.09°)
OKLaboklab(69.58% 0.1268 -0.0732)
OKLCHoklch(69.58% 0.146 330)
XYZxyz(42.9943, 31.1125, 58.3730)
Luminance0.3111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79C8 #79CF80
analogous
#AB79CF #CF79C8 #CF799D
triadic
#CF79C8 #C8CF79 #79C8CF
tetradic
#CF79C8 #CFAB79 #79CF80 #799DCF
square
#CF79C8 #CFAB79 #79CF80 #799DCF
split-complementary
#CF79C8 #9DCF79 #79CFAB
monochromatic
#97368F #BF4CB6 #CF79C8 #DFA6DA #EFD3ED

Accessibility & contrast

On white

2.91
#CF79C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CF79C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79C8
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79C8#FFFFFF#000000##000000
##CF79C81.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7590CB
Deuteranopia (green-blind)
#8C9CC5
Tritanopia (blue-blind)
#D58097
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf79c8;
/* rgb */ color: rgb(207, 121, 200);
/* oklch */ color: oklch(69.6% 0.146 330.0);
Tailwind
colors: {
  custom: {
    50: '#dfa2d9',
    500: '#cf79c8',
    950: '#000000',
  },
}
SCSS
$custom: #cf79c8;
$custom-light: #dfa2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79c8",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 304.884,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69582,
    "c": 0.14644,
    "h": 330
  },
  "luminance": 0.3111
}

Semantic roles & 50–950 ramp

primary
#CF79C8
secondary
#C3E1C5
accent
#BB372B
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CF79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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