#CC79FA#CC79FA

#CC79FA is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.6% C 0.195 H 312.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CC79FA
RGBrgb(204, 121, 250)
HSLhsl(279, 93%, 73%)
HSVhsv(279, 52%, 98%)
CMYKcmyk(18.4%, 51.6%, 0%, 2%)
CIE-LABlab(64.50, 53.93, -51.85)
CIE-LCHlch(64.50, 74.81, 316.13°)
OKLaboklab(71.65% 0.1312 -0.1449)
OKLCHoklch(71.65% 0.195 312.2)
XYZxyz(48.9915, 33.4153, 94.2929)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79FA #A7FA79
analogous
#8C79FA #CC79FA #FA79E7
triadic
#CC79FA #FACC79 #79FACC
tetradic
#CC79FA #FA8C79 #A7FA79 #79E7FA
square
#CC79FA #FA8C79 #A7FA79 #79E7FA
split-complementary
#CC79FA #E7FA79 #79FA8C
monochromatic
#9D09F0 #B63EF8 #CC79FA #E2B4FC #F4E2FE

Accessibility & contrast

On white

2.73
#CC79FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#CC79FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79FA
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79FA#FFFFFF#000000##000000
##CC79FA1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#729EF7
Tritanopia (blue-blind)
#C78EAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc79fa;
/* rgb */ color: rgb(204, 121, 250);
/* oklch */ color: oklch(71.6% 0.195 312.2);
Tailwind
colors: {
  custom: {
    50: '#dea2fc',
    500: '#cc79fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc79fa;
$custom-light: #dea2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79fa",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 278.605,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71648,
    "c": 0.19544,
    "h": 312.2
  },
  "luminance": 0.33414
}

Semantic roles & 50–950 ramp

primary
#CC79FA
secondary
#E1F6D5
accent
#E60052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC79FA

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

Preview Lab → · Contrast checker → · Palette generator →

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