#CC79EB#CC79EB

#CC79EB is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.9% C 0.179 H 316.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CC79EB
RGBrgb(204, 121, 235)
HSLhsl(284, 74%, 70%)
HSVhsv(284, 49%, 92%)
CMYKcmyk(13.2%, 48.5%, 0%, 7.8%)
CIE-LABlab(63.76, 50.83, -44.73)
CIE-LCHlch(63.76, 67.71, 318.65°)
OKLaboklab(70.87% 0.1296 -0.1242)
OKLCHoklch(70.87% 0.18 316.2)
XYZxyz(46.7324, 32.5117, 82.3948)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79EB #98EB79
analogous
#9379EB #CC79EB #EB79D1
triadic
#CC79EB #EBCC79 #79EBCC
tetradic
#CC79EB #EB9379 #98EB79 #79D1EB
square
#CC79EB #EB9379 #98EB79 #79D1EB
split-complementary
#CC79EB #D1EB79 #79EB93
monochromatic
#9C1ECB #B844E3 #CC79EB #E0AEF3 #F5E4FB

Accessibility & contrast

On white

2.80
#CC79EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#CC79EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79EB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79EB#FFFFFF#000000##000000
##CC79EB1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#CB8AA7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc79eb;
/* rgb */ color: rgb(204, 121, 235);
/* oklch */ color: oklch(70.9% 0.179 316.2);
Tailwind
colors: {
  custom: {
    50: '#dea2f2',
    500: '#cc79eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc79eb;
$custom-light: #dea2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79eb",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 283.684,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70868,
    "c": 0.1795,
    "h": 316.2
  },
  "luminance": 0.3251
}

Semantic roles & 50–950 ramp

primary
#CC79EB
secondary
#D9F0D0
accent
#D60F45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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