#CF79E2#CF79E2

#CF79E2 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.172 H 320.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CF79E2
RGBrgb(207, 121, 226)
HSLhsl(289, 64%, 68%)
HSVhsv(289, 46%, 89%)
CMYKcmyk(8.4%, 46.5%, 0%, 11.4%)
CIE-LABlab(63.70, 49.87, -39.81)
CIE-LCHlch(63.70, 63.81, 321.40°)
OKLaboklab(70.76% 0.1318 -0.1099)
OKLCHoklch(70.76% 0.172 320.2)
XYZxyz(46.2953, 32.4329, 75.7583)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79E2 #8CE279
analogous
#9A79E2 #CF79E2 #E279C0
triadic
#CF79E2 #E2CF79 #79E2CF
tetradic
#CF79E2 #E29A79 #8CE279 #79C0E2
square
#CF79E2 #E29A79 #8CE279 #79C0E2
split-complementary
#CF79E2 #C0E279 #79E29A
monochromatic
#9E28B9 #BD47D7 #CF79E2 #E1ABED #F3DEF8

Accessibility & contrast

On white

2.81
#CF79E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CF79E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79E2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79E2#FFFFFF#000000##000000
##CF79E21.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6994E6
Deuteranopia (green-blind)
#819DDF
Tritanopia (blue-blind)
#D087A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf79e2;
/* rgb */ color: rgb(207, 121, 226);
/* oklch */ color: oklch(70.8% 0.172 320.2);
Tailwind
colors: {
  custom: {
    50: '#dfa2eb',
    500: '#cf79e2',
    950: '#000000',
  },
}
SCSS
$custom: #cf79e2;
$custom-light: #dfa2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79e2",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 289.143,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70761,
    "c": 0.17165,
    "h": 320.2
  },
  "luminance": 0.32431
}

Semantic roles & 50–950 ramp

primary
#CF79E2
secondary
#D1EBCB
accent
#CC193A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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