#CC79FF#CC79FF

#CC79FF is a light, highly saturated violet. Relative luminance 0.337; OKLCH L 71.9% C 0.201 H 310.9°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CC79FF
RGBrgb(204, 121, 255)
HSLhsl(277, 100%, 74%)
HSVhsv(277, 53%, 100%)
CMYKcmyk(20%, 52.5%, 0%, 0%)
CIE-LABlab(64.75, 54.99, -54.19)
CIE-LCHlch(64.75, 77.20, 315.42°)
OKLaboklab(71.92% 0.1316 -0.1517)
OKLCHoklch(71.92% 0.201 310.9)
XYZxyz(49.7859, 33.7331, 98.4768)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79FF #ACFF79
analogous
#8979FF #CC79FF #FF79EF
triadic
#CC79FF #FFCC79 #79FFCC
tetradic
#CC79FF #FF8979 #ACFF79 #79EFFF
square
#CC79FF #FF8979 #ACFF79 #79EFFF
split-complementary
#CC79FF #EFFF79 #79FF89
monochromatic
#9D00FE #B53CFF #CC79FF #E3B6FF #F3E0FF

Accessibility & contrast

On white

2.71
#CC79FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CC79FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79FF
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79FF#FFFFFF#000000##000000
##CC79FF1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#6F9FFC
Tritanopia (blue-blind)
#C690B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc79ff;
/* rgb */ color: rgb(204, 121, 255);
/* oklch */ color: oklch(71.9% 0.201 310.9);
Tailwind
colors: {
  custom: {
    50: '#dea2ff',
    500: '#cc79ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc79ff;
$custom-light: #dea2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79ff",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 255
  },
  "hsl": {
    "h": 277.164,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71918,
    "c": 0.20081,
    "h": 310.9
  },
  "luminance": 0.33732
}

Semantic roles & 50–950 ramp

primary
#CC79FF
secondary
#E1F7D4
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC79FF

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

Preview Lab → · Contrast checker → · Palette generator →

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