#CC79EF#CC79EF

#CC79EF is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.1% C 0.184 H 315.1°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CC79EF
RGBrgb(204, 121, 239)
HSLhsl(282, 79%, 71%)
HSVhsv(282, 49%, 94%)
CMYKcmyk(14.6%, 49.4%, 0%, 6.3%)
CIE-LABlab(63.95, 51.64, -46.64)
CIE-LCHlch(63.95, 69.59, 317.91°)
OKLaboklab(71.07% 0.1301 -0.1298)
OKLCHoklch(71.07% 0.184 315.1)
XYZxyz(47.3168, 32.7454, 85.4726)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79EF #9CEF79
analogous
#9179EF #CC79EF #EF79D7
triadic
#CC79EF #EFCC79 #79EFCC
tetradic
#CC79EF #EF9179 #9CEF79 #79D7EF
square
#CC79EF #EF9179 #9CEF79 #79D7EF
split-complementary
#CC79EF #D7EF79 #79EF91
monochromatic
#9D19D4 #B742E8 #CC79EF #E1B0F6 #F5E4FC

Accessibility & contrast

On white

2.78
#CC79EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#CC79EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79EF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79EF#FFFFFF#000000##000000
##CC79EF1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#799DEC
Tritanopia (blue-blind)
#CA8BA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc79ef;
/* rgb */ color: rgb(204, 121, 239);
/* oklch */ color: oklch(71.1% 0.184 315.1);
Tailwind
colors: {
  custom: {
    50: '#dea2f5',
    500: '#cc79ef',
    950: '#000000',
  },
}
SCSS
$custom: #cc79ef;
$custom-light: #dea2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79ef",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 282.203,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71071,
    "c": 0.18372,
    "h": 315.1
  },
  "luminance": 0.32744
}

Semantic roles & 50–950 ramp

primary
#CC79EF
secondary
#DBF2D2
accent
#DB0B48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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