#CF79DE#CF79DE

#CF79DE is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.6% C 0.168 H 321.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CF79DE
RGBrgb(207, 121, 222)
HSLhsl(291, 60%, 67%)
HSVhsv(291, 45%, 87%)
CMYKcmyk(6.8%, 45.5%, 0%, 12.9%)
CIE-LABlab(63.52, 49.10, -37.86)
CIE-LCHlch(63.52, 62.00, 322.36°)
OKLaboklab(70.57% 0.1312 -0.1043)
OKLCHoklch(70.57% 0.168 321.5)
XYZxyz(45.7528, 32.2159, 72.9013)
Luminance0.3221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF79DE #88DE79
analogous
#9D79DE #CF79DE #DE79BB
triadic
#CF79DE #DECF79 #79DECF
tetradic
#CF79DE #DE9D79 #88DE79 #79BBDE
square
#CF79DE #DE9D79 #88DE79 #79BBDE
split-complementary
#CF79DE #BBDE79 #79DE9D
monochromatic
#9D2CB1 #BD48D2 #CF79DE #E1AAEA #F2DBF6

Accessibility & contrast

On white

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

On black

7.44
#CF79DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF79DE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF79DE#FFFFFF#000000##000000
##CF79DE1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E2
Deuteranopia (green-blind)
#839DDB
Tritanopia (blue-blind)
#D186A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf79de;
/* rgb */ color: rgb(207, 121, 222);
/* oklch */ color: oklch(70.6% 0.168 321.5);
Tailwind
colors: {
  custom: {
    50: '#dfa2e8',
    500: '#cf79de',
    950: '#000000',
  },
}
SCSS
$custom: #cf79de;
$custom-light: #dfa2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf79de",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 222
  },
  "hsl": {
    "h": 291.089,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.7057,
    "c": 0.16761,
    "h": 321.5
  },
  "luminance": 0.32214
}

Semantic roles & 50–950 ramp

primary
#CF79DE
secondary
#CEE9C9
accent
#C81D37
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF79DE

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

Preview Lab → · Contrast checker → · Palette generator →

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