#CC79E4#CC79E4

#CC79E4 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.172 H 318.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CC79E4
RGBrgb(204, 121, 228)
HSLhsl(287, 66%, 68%)
HSVhsv(287, 47%, 89%)
CMYKcmyk(10.5%, 46.9%, 0%, 10.6%)
CIE-LABlab(63.44, 49.42, -41.36)
CIE-LCHlch(63.44, 64.44, 320.08°)
OKLaboklab(70.52% 0.1286 -0.1145)
OKLCHoklch(70.52% 0.172 318.3)
XYZxyz(45.7409, 32.1151, 77.1731)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79E4 #91E479
analogous
#9679E4 #CC79E4 #E479C6
triadic
#CC79E4 #E4CC79 #79E4CC
tetradic
#CC79E4 #E49679 #91E479 #79C6E4
square
#CC79E4 #E49679 #91E479 #79C6E4
split-complementary
#CC79E4 #C6E479 #79E496
monochromatic
#9B26BD #B946DA #CC79E4 #DFACEE #F3DFF9

Accessibility & contrast

On white

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

On black

7.42
#CC79E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79E4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79E4#FFFFFF#000000##000000
##CC79E41.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6794E8
Deuteranopia (green-blind)
#7E9CE1
Tritanopia (blue-blind)
#CC88A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc79e4;
/* rgb */ color: rgb(204, 121, 228);
/* oklch */ color: oklch(70.5% 0.172 318.3);
Tailwind
colors: {
  custom: {
    50: '#dda2ed',
    500: '#cc79e4',
    950: '#000000',
  },
}
SCSS
$custom: #cc79e4;
$custom-light: #dda2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79e4",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 286.542,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70519,
    "c": 0.17218,
    "h": 318.3
  },
  "luminance": 0.32114
}

Semantic roles & 50–950 ramp

primary
#CC79E4
secondary
#D4ECCC
accent
#CE1740
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC79E4

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

Preview Lab → · Contrast checker → · Palette generator →

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