#CF79DF#CF79DF

#CF79DF is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.6% C 0.169 H 321.2°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CF79DF
RGBrgb(207, 121, 223)
HSLhsl(291, 61%, 67%)
HSVhsv(291, 46%, 87%)
CMYKcmyk(7.2%, 45.7%, 0%, 12.5%)
CIE-LABlab(63.57, 49.29, -38.35)
CIE-LCHlch(63.57, 62.45, 322.12°)
OKLaboklab(70.62% 0.1313 -0.1057)
OKLCHoklch(70.62% 0.169 321.2)
XYZxyz(45.8872, 32.2696, 73.6093)
Luminance0.3227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79DF #89DF79
analogous
#9C79DF #CF79DF #DF79BC
triadic
#CF79DF #DFCF79 #79DFCF
tetradic
#CF79DF #DF9C79 #89DF79 #79BCDF
square
#CF79DF #DF9C79 #89DF79 #79BCDF
split-complementary
#CF79DF #BCDF79 #79DF9C
monochromatic
#9E2BB3 #BD48D3 #CF79DF #E1AAEB #F2DCF7

Accessibility & contrast

On white

2.82
#CF79DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CF79DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79DF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79DF#FFFFFF#000000##000000
##CF79DF1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A94E3
Deuteranopia (green-blind)
#839DDC
Tritanopia (blue-blind)
#D186A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf79df;
/* rgb */ color: rgb(207, 121, 223);
/* oklch */ color: oklch(70.6% 0.169 321.2);
Tailwind
colors: {
  custom: {
    50: '#dfa2e9',
    500: '#cf79df',
    950: '#000000',
  },
}
SCSS
$custom: #cf79df;
$custom-light: #dfa2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79df",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 290.588,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70617,
    "c": 0.16861,
    "h": 321.2
  },
  "luminance": 0.32268
}

Semantic roles & 50–950 ramp

primary
#CF79DF
secondary
#CFEACA
accent
#C91C37
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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