#CC79F8#CC79F8

#CC79F8 is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.5% C 0.193 H 312.7°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CC79F8
RGBrgb(204, 121, 248)
HSLhsl(279, 90%, 72%)
HSVhsv(279, 51%, 97%)
CMYKcmyk(17.7%, 51.2%, 0%, 2.7%)
CIE-LABlab(64.40, 53.51, -50.91)
CIE-LCHlch(64.40, 73.86, 316.43°)
OKLaboklab(71.54% 0.131 -0.1422)
OKLCHoklch(71.54% 0.193 312.7)
XYZxyz(48.6796, 33.2906, 92.6501)
Luminance0.3329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79F8 #A5F879
analogous
#8D79F8 #CC79F8 #F879E4
triadic
#CC79F8 #F8CC79 #79F8CC
tetradic
#CC79F8 #F88D79 #A5F879 #79E4F8
square
#CC79F8 #F88D79 #A5F879 #79E4F8
split-complementary
#CC79F8 #E4F879 #79F88D
monochromatic
#9D0CEA #B63FF5 #CC79F8 #E2B3FB #F4E2FD

Accessibility & contrast

On white

2.74
#CC79F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#CC79F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79F8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79F8#FFFFFF#000000##000000
##CC79F81.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FC
Deuteranopia (green-blind)
#739EF5
Tritanopia (blue-blind)
#C88EAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc79f8;
/* rgb */ color: rgb(204, 121, 248);
/* oklch */ color: oklch(71.5% 0.193 312.7);
Tailwind
colors: {
  custom: {
    50: '#dea2fb',
    500: '#cc79f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc79f8;
$custom-light: #dea2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79f8",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 279.213,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71541,
    "c": 0.19331,
    "h": 312.7
  },
  "luminance": 0.33289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC79F8

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

Preview Lab → · Contrast checker → · Palette generator →

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