#CC79F4#CC79F4

#CC79F4 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.3% C 0.189 H 313.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CC79F4
RGBrgb(204, 121, 244)
HSLhsl(280, 85%, 72%)
HSVhsv(280, 50%, 96%)
CMYKcmyk(16.4%, 50.4%, 0%, 4.3%)
CIE-LABlab(64.20, 52.68, -49.02)
CIE-LCHlch(64.20, 71.96, 317.06°)
OKLaboklab(71.33% 0.1306 -0.1367)
OKLCHoklch(71.33% 0.189 313.7)
XYZxyz(48.0656, 33.0450, 89.4167)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79F4 #A1F479
analogous
#8F79F4 #CC79F4 #F479DF
triadic
#CC79F4 #F4CC79 #79F4CC
tetradic
#CC79F4 #F48F79 #A1F479 #79DFF4
square
#CC79F4 #F48F79 #A1F479 #79DFF4
split-complementary
#CC79F4 #DFF479 #79F48F
monochromatic
#9D12E0 #B640EF #CC79F4 #E2B2F9 #F4E3FD

Accessibility & contrast

On white

2.76
#CC79F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CC79F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79F4
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79F4#FFFFFF#000000##000000
##CC79F41.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C97F8
Deuteranopia (green-blind)
#769EF1
Tritanopia (blue-blind)
#C98CAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc79f4;
/* rgb */ color: rgb(204, 121, 244);
/* oklch */ color: oklch(71.3% 0.189 313.7);
Tailwind
colors: {
  custom: {
    50: '#dea2f8',
    500: '#cc79f4',
    950: '#000000',
  },
}
SCSS
$custom: #cc79f4;
$custom-light: #dea2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79f4",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 280.488,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7133,
    "c": 0.18904,
    "h": 313.7
  },
  "luminance": 0.33044
}

Semantic roles & 50–950 ramp

primary
#CC79F4
secondary
#DFF4D5
accent
#E1044C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC79F4

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

Preview Lab → · Contrast checker → · Palette generator →

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