#CF79F7#CF79F7

#CF79F7 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.8% C 0.193 H 314.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CF79F7
RGBrgb(207, 121, 247)
HSLhsl(281, 89%, 72%)
HSVhsv(281, 51%, 97%)
CMYKcmyk(16.2%, 51%, 0%, 3.1%)
CIE-LABlab(64.69, 54.09, -49.87)
CIE-LCHlch(64.69, 73.57, 317.32°)
OKLaboklab(71.82% 0.1344 -0.1391)
OKLCHoklch(71.82% 0.193 314)
XYZxyz(49.3552, 33.6569, 91.8741)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79F7 #A1F779
analogous
#9079F7 #CF79F7 #F779E0
triadic
#CF79F7 #F7CF79 #79F7CF
tetradic
#CF79F7 #F79079 #A1F779 #79E0F7
square
#CF79F7 #F79079 #A1F779 #79E0F7
split-complementary
#CF79F7 #E0F779 #79F790
monochromatic
#A30EE8 #BA3FF4 #CF79F7 #E4B3FA #F5E2FD

Accessibility & contrast

On white

2.72
#CF79F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#CF79F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79F7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79F7#FFFFFF#000000##000000
##CF79F71.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf79f7;
/* rgb */ color: rgb(207, 121, 247);
/* oklch */ color: oklch(71.8% 0.193 314.0);
Tailwind
colors: {
  custom: {
    50: '#e0a2fa',
    500: '#cf79f7',
    950: '#000000',
  },
}
SCSS
$custom: #cf79f7;
$custom-light: #e0a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79f7",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 280.952,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71818,
    "c": 0.19343,
    "h": 314
  },
  "luminance": 0.33656
}

Semantic roles & 50–950 ramp

primary
#CF79F7
secondary
#E0F5D6
accent
#E50049
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #CF79F7

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

Preview Lab → · Contrast checker → · Palette generator →

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