#CC79F3#CC79F3

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

Color values

HEX#CC79F3
RGBrgb(204, 121, 243)
HSLhsl(281, 84%, 71%)
HSVhsv(281, 50%, 95%)
CMYKcmyk(16%, 50.2%, 0%, 4.7%)
CIE-LABlab(64.15, 52.47, -48.55)
CIE-LCHlch(64.15, 71.48, 317.22°)
OKLaboklab(71.28% 0.1305 -0.1353)
OKLCHoklch(71.28% 0.188 314)
XYZxyz(47.9142, 32.9844, 88.6192)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79F3 #A0F379
analogous
#8F79F3 #CC79F3 #F379DD
triadic
#CC79F3 #F3CC79 #79F3CC
tetradic
#CC79F3 #F38F79 #A0F379 #79DDF3
square
#CC79F3 #F38F79 #A0F379 #79DDF3
split-complementary
#CC79F3 #DDF379 #79F38F
monochromatic
#9D14DE #B741EE #CC79F3 #E1B1F8 #F4E3FC

Accessibility & contrast

On white

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

On black

7.60
#CC79F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79F3
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79F3#FFFFFF#000000##000000
##CC79F31.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D97F7
Deuteranopia (green-blind)
#769EF0
Tritanopia (blue-blind)
#C98CAB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc79f3;
/* rgb */ color: rgb(204, 121, 243);
/* oklch */ color: oklch(71.3% 0.188 314.0);
Tailwind
colors: {
  custom: {
    50: '#dea2f7',
    500: '#cc79f3',
    950: '#000000',
  },
}
SCSS
$custom: #cc79f3;
$custom-light: #dea2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79f3",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 243
  },
  "hsl": {
    "h": 280.82,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71278,
    "c": 0.18797,
    "h": 314
  },
  "luminance": 0.32983
}

Semantic roles & 50–950 ramp

primary
#CC79F3
secondary
#DEF4D4
accent
#E0064B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC79F3

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

Preview Lab → · Contrast checker → · Palette generator →

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