#CC79DE#CC79DE

#CC79DE is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.2% C 0.166 H 320.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CC79DE
RGBrgb(204, 121, 222)
HSLhsl(289, 60%, 67%)
HSVhsv(289, 45%, 87%)
CMYKcmyk(8.1%, 45.5%, 0%, 12.9%)
CIE-LABlab(63.17, 48.24, -38.44)
CIE-LCHlch(63.17, 61.68, 321.45°)
OKLaboklab(70.23% 0.1277 -0.1061)
OKLCHoklch(70.23% 0.166 320.3)
XYZxyz(44.9224, 31.7877, 72.8624)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79DE #8BDE79
analogous
#9A79DE #CC79DE #DE79BE
triadic
#CC79DE #DECC79 #79DECC
tetradic
#CC79DE #DE9A79 #8BDE79 #79BEDE
square
#CC79DE #DE9A79 #8BDE79 #79BEDE
split-complementary
#CC79DE #BEDE79 #79DE9A
monochromatic
#992CB1 #B948D2 #CC79DE #DFAAEA #F1DBF6

Accessibility & contrast

On white

2.85
#CC79DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#CC79DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79DE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79DE#FFFFFF#000000##000000
##CC79DE1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E2
Deuteranopia (green-blind)
#819CDB
Tritanopia (blue-blind)
#CD86A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc79de;
/* rgb */ color: rgb(204, 121, 222);
/* oklch */ color: oklch(70.2% 0.166 320.3);
Tailwind
colors: {
  custom: {
    50: '#dda2e8',
    500: '#cc79de',
    950: '#000000',
  },
}
SCSS
$custom: #cc79de;
$custom-light: #dda2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79de",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 222
  },
  "hsl": {
    "h": 289.307,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70229,
    "c": 0.166,
    "h": 320.3
  },
  "luminance": 0.31786
}

Semantic roles & 50–950 ramp

primary
#CC79DE
secondary
#CFE9C9
accent
#C81D3C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC79DE

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

Preview Lab → · Contrast checker → · Palette generator →

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