#CF79DD#CF79DD

#CF79DD is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.5% C 0.167 H 321.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CF79DD
RGBrgb(207, 121, 221)
HSLhsl(292, 60%, 67%)
HSVhsv(292, 45%, 87%)
CMYKcmyk(6.3%, 45.2%, 0%, 13.3%)
CIE-LABlab(63.48, 48.90, -37.37)
CIE-LCHlch(63.48, 61.55, 322.61°)
OKLaboklab(70.52% 0.131 -0.1029)
OKLCHoklch(70.52% 0.167 321.8)
XYZxyz(45.6192, 32.1624, 72.1976)
Luminance0.3216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79DD #87DD79
analogous
#9D79DD #CF79DD #DD79B9
triadic
#CF79DD #DDCF79 #79DDCF
tetradic
#CF79DD #DD9D79 #87DD79 #79B9DD
square
#CF79DD #DD9D79 #87DD79 #79B9DD
split-complementary
#CF79DD #B9DD79 #79DD9D
monochromatic
#9D2CAF #BE48D1 #CF79DD #E0AAE9 #F2DBF6

Accessibility & contrast

On white

2.83
#CF79DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CF79DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79DD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79DD#FFFFFF#000000##000000
##CF79DD1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93E0
Deuteranopia (green-blind)
#849DDA
Tritanopia (blue-blind)
#D185A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf79dd;
/* rgb */ color: rgb(207, 121, 221);
/* oklch */ color: oklch(70.5% 0.167 321.8);
Tailwind
colors: {
  custom: {
    50: '#dfa2e8',
    500: '#cf79dd',
    950: '#000000',
  },
}
SCSS
$custom: #cf79dd;
$custom-light: #dfa2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79dd",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 291.6,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70523,
    "c": 0.16661,
    "h": 321.8
  },
  "luminance": 0.32161
}

Semantic roles & 50–950 ramp

primary
#CF79DD
secondary
#CDE9C9
accent
#C71E36
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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