#CC79ED#CC79ED

#CC79ED is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.0% C 0.182 H 315.6°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CC79ED
RGBrgb(204, 121, 237)
HSLhsl(283, 76%, 70%)
HSVhsv(283, 49%, 93%)
CMYKcmyk(13.9%, 48.9%, 0%, 7.1%)
CIE-LABlab(63.86, 51.23, -45.69)
CIE-LCHlch(63.86, 68.65, 318.27°)
OKLaboklab(70.97% 0.1298 -0.127)
OKLCHoklch(70.97% 0.182 315.6)
XYZxyz(47.0229, 32.6279, 83.9251)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79ED #9AED79
analogous
#9279ED #CC79ED #ED79D4
triadic
#CC79ED #EDCC79 #79EDCC
tetradic
#CC79ED #ED9279 #9AED79 #79D4ED
square
#CC79ED #ED9279 #9AED79 #79D4ED
split-complementary
#CC79ED #D4ED79 #79ED92
monochromatic
#9D1CD0 #B743E6 #CC79ED #E1AFF4 #F5E4FB

Accessibility & contrast

On white

2.79
#CC79ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CC79ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79ED
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79ED#FFFFFF#000000##000000
##CC79ED1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F1
Deuteranopia (green-blind)
#7A9DEA
Tritanopia (blue-blind)
#CA8AA8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc79ed;
/* rgb */ color: rgb(204, 121, 237);
/* oklch */ color: oklch(71.0% 0.182 315.6);
Tailwind
colors: {
  custom: {
    50: '#dea2f3',
    500: '#cc79ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc79ed;
$custom-light: #dea2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79ed",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 237
  },
  "hsl": {
    "h": 282.931,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70969,
    "c": 0.18162,
    "h": 315.6
  },
  "luminance": 0.32627
}

Semantic roles & 50–950 ramp

primary
#CC79ED
secondary
#DAF1D1
accent
#D90D47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC79ED

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

Preview Lab → · Contrast checker → · Palette generator →

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