#CF79F4#CF79F4

#CF79F4 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.7% C 0.190 H 314.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CF79F4
RGBrgb(207, 121, 244)
HSLhsl(282, 85%, 72%)
HSVhsv(282, 50%, 96%)
CMYKcmyk(15.2%, 50.4%, 0%, 4.3%)
CIE-LABlab(64.54, 53.47, -48.45)
CIE-LCHlch(64.54, 72.16, 317.82°)
OKLaboklab(71.66% 0.1341 -0.1349)
OKLCHoklch(71.66% 0.19 314.8)
XYZxyz(48.8960, 33.4732, 89.4557)
Luminance0.3347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79F4 #9EF479
analogous
#9279F4 #CF79F4 #F479DC
triadic
#CF79F4 #F4CF79 #79F4CF
tetradic
#CF79F4 #F49279 #9EF479 #79DCF4
square
#CF79F4 #F49279 #9EF479 #79DCF4
split-complementary
#CF79F4 #DCF479 #79F492
monochromatic
#A212E0 #BB40EF #CF79F4 #E3B2F9 #F5E3FD

Accessibility & contrast

On white

2.73
#CF79F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CF79F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79F4
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79F4#FFFFFF#000000##000000
##CF79F41.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F8
Deuteranopia (green-blind)
#789FF1
Tritanopia (blue-blind)
#CC8CAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf79f4;
/* rgb */ color: rgb(207, 121, 244);
/* oklch */ color: oklch(71.7% 0.190 314.8);
Tailwind
colors: {
  custom: {
    50: '#e0a2f8',
    500: '#cf79f4',
    950: '#000000',
  },
}
SCSS
$custom: #cf79f4;
$custom-light: #e0a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79f4",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 281.951,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71661,
    "c": 0.19027,
    "h": 314.8
  },
  "luminance": 0.33472
}

Semantic roles & 50–950 ramp

primary
#CF79F4
secondary
#DEF4D5
accent
#E10447
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF79F4

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

Preview Lab → · Contrast checker → · Palette generator →

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