#CF79CC#CF79CC

#CF79CC is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.8% C 0.150 H 328.3°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CF79CC
RGBrgb(207, 121, 204)
HSLhsl(302, 47%, 64%)
HSVhsv(302, 42%, 81%)
CMYKcmyk(0%, 41.5%, 1.4%, 18.8%)
CIE-LABlab(62.76, 45.73, -28.96)
CIE-LCHlch(62.76, 54.13, 327.66°)
OKLaboklab(69.75% 0.1277 -0.0789)
OKLCHoklch(69.75% 0.15 328.3)
XYZxyz(43.4679, 31.3019, 60.8673)
Luminance0.3130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79CC #79CF7C
analogous
#A779CF #CF79CC #CF79A1
triadic
#CF79CC #CCCF79 #79CCCF
tetradic
#CF79CC #CFA779 #79CF7C #79A1CF
square
#CF79CC #CFA779 #79CF7C #79A1CF
split-complementary
#CF79CC #A1CF79 #79CFA7
monochromatic
#973694 #BF4CBB #CF79CC #DFA6DD #EFD3EE

Accessibility & contrast

On white

2.89
#CF79CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CF79CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79CC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79CC#FFFFFF#000000##000000
##CF79CC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391CF
Deuteranopia (green-blind)
#8A9CC9
Tritanopia (blue-blind)
#D48199
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf79cc;
/* rgb */ color: rgb(207, 121, 204);
/* oklch */ color: oklch(69.8% 0.150 328.3);
Tailwind
colors: {
  custom: {
    50: '#dfa2db',
    500: '#cf79cc',
    950: '#000000',
  },
}
SCSS
$custom: #cf79cc;
$custom-light: #dfa2db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79cc",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 302.093,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69754,
    "c": 0.15014,
    "h": 328.3
  },
  "luminance": 0.313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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