#CF79F8#CF79F8

#CF79F8 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.9% C 0.194 H 313.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CF79F8
RGBrgb(207, 121, 248)
HSLhsl(281, 90%, 72%)
HSVhsv(281, 51%, 97%)
CMYKcmyk(16.5%, 51.2%, 0%, 2.7%)
CIE-LABlab(64.74, 54.29, -50.34)
CIE-LCHlch(64.74, 74.04, 317.16°)
OKLaboklab(71.87% 0.1345 -0.1404)
OKLCHoklch(71.87% 0.194 313.8)
XYZxyz(49.5100, 33.7187, 92.6890)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79F8 #A2F879
analogous
#9079F8 #CF79F8 #F879E1
triadic
#CF79F8 #F8CF79 #79F8CF
tetradic
#CF79F8 #F89079 #A2F879 #79E1F8
square
#CF79F8 #F89079 #A2F879 #79E1F8
split-complementary
#CF79F8 #E1F879 #79F890
monochromatic
#A30CEA #BA3FF5 #CF79F8 #E4B3FB #F5E2FD

Accessibility & contrast

On white

2.71
#CF79F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#CF79F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79F8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79F8#FFFFFF#000000##000000
##CF79F81.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#769FF5
Tritanopia (blue-blind)
#CC8DAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf79f8;
/* rgb */ color: rgb(207, 121, 248);
/* oklch */ color: oklch(71.9% 0.194 313.8);
Tailwind
colors: {
  custom: {
    50: '#e0a2fb',
    500: '#cf79f8',
    950: '#000000',
  },
}
SCSS
$custom: #cf79f8;
$custom-light: #e0a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79f8",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 280.63,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7187,
    "c": 0.19448,
    "h": 313.8
  },
  "luminance": 0.33717
}

Semantic roles & 50–950 ramp

primary
#CF79F8
secondary
#E0F6D5
accent
#E6004A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #CF79F8

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

Preview Lab → · Contrast checker → · Palette generator →

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