#CF79F9#CF79F9

#CF79F9 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.9% C 0.196 H 313.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CF79F9
RGBrgb(207, 121, 249)
HSLhsl(280, 91%, 73%)
HSVhsv(280, 51%, 98%)
CMYKcmyk(16.9%, 51.4%, 0%, 2.4%)
CIE-LABlab(64.79, 54.50, -50.81)
CIE-LCHlch(64.79, 74.51, 317.00°)
OKLaboklab(71.92% 0.1346 -0.1418)
OKLCHoklch(71.92% 0.196 313.5)
XYZxyz(49.6655, 33.7810, 93.5083)
Luminance0.3378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79F9 #A3F979
analogous
#8F79F9 #CF79F9 #F979E3
triadic
#CF79F9 #F9CF79 #79F9CF
tetradic
#CF79F9 #F98F79 #A3F979 #79E3F9
square
#CF79F9 #F98F79 #A3F979 #79E3F9
split-complementary
#CF79F9 #E3F979 #79F98F
monochromatic
#A30BED #BA3EF6 #CF79F9 #E4B4FC #F5E2FE

Accessibility & contrast

On white

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

On black

7.76
#CF79F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79F9
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79F9#FFFFFF#000000##000000
##CF79F91.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FD
Deuteranopia (green-blind)
#759FF6
Tritanopia (blue-blind)
#CB8EAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf79f9;
/* rgb */ color: rgb(207, 121, 249);
/* oklch */ color: oklch(71.9% 0.196 313.5);
Tailwind
colors: {
  custom: {
    50: '#e0a2fc',
    500: '#cf79f9',
    950: '#000000',
  },
}
SCSS
$custom: #cf79f9;
$custom-light: #e0a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79f9",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 280.313,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71923,
    "c": 0.19553,
    "h": 313.5
  },
  "luminance": 0.3378
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF79F9

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

Preview Lab → · Contrast checker → · Palette generator →

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