#CF79CE#CF79CE

#CF79CE is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.8% C 0.152 H 327.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CF79CE
RGBrgb(207, 121, 206)
HSLhsl(301, 47%, 64%)
HSVhsv(301, 42%, 81%)
CMYKcmyk(0%, 41.5%, 0.5%, 18.8%)
CIE-LABlab(62.84, 46.10, -29.96)
CIE-LCHlch(62.84, 54.98, 326.98°)
OKLaboklab(69.84% 0.1281 -0.0818)
OKLCHoklch(69.84% 0.152 327.5)
XYZxyz(43.7093, 31.3985, 62.1387)
Luminance0.3140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79CE #79CF7A
analogous
#A579CF #CF79CE #CF79A3
triadic
#CF79CE #CECF79 #79CECF
tetradic
#CF79CE #CFA579 #79CF7A #79A3CF
square
#CF79CE #CFA579 #79CF7A #79A3CF
split-complementary
#CF79CE #A3CF79 #79CFA5
monochromatic
#973696 #BF4CBE #CF79CE #DFA6DE #EFD3EF

Accessibility & contrast

On white

2.88
#CF79CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CF79CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79CE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79CE#FFFFFF#000000##000000
##CF79CE1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D1
Deuteranopia (green-blind)
#8A9CCB
Tritanopia (blue-blind)
#D4819A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf79ce;
/* rgb */ color: rgb(207, 121, 206);
/* oklch */ color: oklch(69.8% 0.152 327.5);
Tailwind
colors: {
  custom: {
    50: '#dfa2dd',
    500: '#cf79ce',
    950: '#000000',
  },
}
SCSS
$custom: #cf79ce;
$custom-light: #dfa2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79ce",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 300.698,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69841,
    "c": 0.15201,
    "h": 327.5
  },
  "luminance": 0.31396
}

Semantic roles & 50–950 ramp

primary
#CF79CE
secondary
#C3E1C3
accent
#BB2D2B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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