#CF79E5#CF79E5

#CF79E5 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.175 H 319.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#CF79E5
RGBrgb(207, 121, 229)
HSLhsl(288, 68%, 69%)
HSVhsv(288, 47%, 90%)
CMYKcmyk(9.6%, 47.2%, 0%, 10.2%)
CIE-LABlab(63.83, 50.46, -41.27)
CIE-LCHlch(63.83, 65.18, 320.72°)
OKLaboklab(70.91% 0.1323 -0.1141)
OKLCHoklch(70.91% 0.175 319.2)
XYZxyz(46.7105, 32.5990, 77.9452)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79E5 #8FE579
analogous
#9979E5 #CF79E5 #E579C5
triadic
#CF79E5 #E5CF79 #79E5CF
tetradic
#CF79E5 #E59979 #8FE579 #79C5E5
square
#CF79E5 #E59979 #8FE579 #79C5E5
split-complementary
#CF79E5 #C5E579 #79E599
monochromatic
#9F25BF #BD46DB #CF79E5 #E1ACEF #F4E0F9

Accessibility & contrast

On white

2.79
#CF79E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#CF79E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79E5
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79E5#FFFFFF#000000##000000
##CF79E51.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6795E9
Deuteranopia (green-blind)
#809EE2
Tritanopia (blue-blind)
#D088A4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf79e5;
/* rgb */ color: rgb(207, 121, 229);
/* oklch */ color: oklch(70.9% 0.175 319.2);
Tailwind
colors: {
  custom: {
    50: '#e0a2ed',
    500: '#cf79e5',
    950: '#000000',
  },
}
SCSS
$custom: #cf79e5;
$custom-light: #e0a2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79e5",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 229
  },
  "hsl": {
    "h": 287.778,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70906,
    "c": 0.1747,
    "h": 319.2
  },
  "luminance": 0.32597
}

Semantic roles & 50–950 ramp

primary
#CF79E5
secondary
#D3EDCD
accent
#CF163C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF79E5

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

Preview Lab → · Contrast checker → · Palette generator →

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