#CF79EC#CF79EC

#CF79EC is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.3% C 0.182 H 317.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CF79EC
RGBrgb(207, 121, 236)
HSLhsl(285, 75%, 70%)
HSVhsv(285, 49%, 93%)
CMYKcmyk(12.3%, 48.7%, 0%, 7.5%)
CIE-LABlab(64.16, 51.85, -44.64)
CIE-LCHlch(64.16, 68.42, 319.27°)
OKLaboklab(71.25% 0.1332 -0.1239)
OKLCHoklch(71.25% 0.182 317.1)
XYZxyz(47.7076, 32.9978, 83.1967)
Luminance0.3300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79EC #96EC79
analogous
#9679EC #CF79EC #EC79CF
triadic
#CF79EC #ECCF79 #79ECCF
tetradic
#CF79EC #EC9679 #96EC79 #79CFEC
square
#CF79EC #EC9679 #96EC79 #79CFEC
split-complementary
#CF79EC #CFEC79 #79EC96
monochromatic
#A11DCD #BC43E4 #CF79EC #E2AFF4 #F5E4FB

Accessibility & contrast

On white

2.76
#CF79EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#CF79EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79EC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79EC#FFFFFF#000000##000000
##CF79EC1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#CE8AA8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf79ec;
/* rgb */ color: rgb(207, 121, 236);
/* oklch */ color: oklch(71.3% 0.182 317.1);
Tailwind
colors: {
  custom: {
    50: '#e0a2f2',
    500: '#cf79ec',
    950: '#000000',
  },
}
SCSS
$custom: #cf79ec;
$custom-light: #e0a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79ec",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 284.87,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71253,
    "c": 0.18192,
    "h": 317.1
  },
  "luminance": 0.32996
}

Semantic roles & 50–950 ramp

primary
#CF79EC
secondary
#D8F0D0
accent
#D70E41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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