#CF79CB#CF79CB

#CF79CB is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.7% C 0.149 H 328.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CF79CB
RGBrgb(207, 121, 203)
HSLhsl(303, 47%, 64%)
HSVhsv(303, 42%, 81%)
CMYKcmyk(0%, 41.5%, 1.9%, 18.8%)
CIE-LABlab(62.72, 45.55, -28.46)
CIE-LCHlch(62.72, 53.71, 328.01°)
OKLaboklab(69.71% 0.1275 -0.0775)
OKLCHoklch(69.71% 0.149 328.7)
XYZxyz(43.3483, 31.2541, 60.2377)
Luminance0.3125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79CB #79CF7D
analogous
#A879CF #CF79CB #CF79A0
triadic
#CF79CB #CBCF79 #79CBCF
tetradic
#CF79CB #CFA879 #79CF7D #79A0CF
square
#CF79CB #CFA879 #79CF7D #79A0CF
split-complementary
#CF79CB #A0CF79 #79CFA8
monochromatic
#973693 #BF4CBA #CF79CB #DFA6DC #EFD3EE

Accessibility & contrast

On white

2.90
#CF79CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CF79CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79CB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79CB#FFFFFF#000000##000000
##CF79CB1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491CE
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#D58099
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf79cb;
/* rgb */ color: rgb(207, 121, 203);
/* oklch */ color: oklch(69.7% 0.149 328.7);
Tailwind
colors: {
  custom: {
    50: '#dfa2db',
    500: '#cf79cb',
    950: '#000000',
  },
}
SCSS
$custom: #cf79cb;
$custom-light: #dfa2db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79cb",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 302.791,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69711,
    "c": 0.14921,
    "h": 328.7
  },
  "luminance": 0.31252
}

Semantic roles & 50–950 ramp

primary
#CF79CB
secondary
#C3E1C4
accent
#BB322B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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