#CC79FD#CC79FD

#CC79FD is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.8% C 0.199 H 311.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CC79FD
RGBrgb(204, 121, 253)
HSLhsl(278, 97%, 73%)
HSVhsv(278, 52%, 99%)
CMYKcmyk(19.4%, 52.2%, 0%, 0.8%)
CIE-LABlab(64.65, 54.56, -53.26)
CIE-LCHlch(64.65, 76.25, 315.70°)
OKLaboklab(71.81% 0.1314 -0.149)
OKLCHoklch(71.81% 0.199 311.4)
XYZxyz(49.4656, 33.6050, 96.7901)
Luminance0.3360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79FD #AAFD79
analogous
#8A79FD #CC79FD #FD79EC
triadic
#CC79FD #FDCC79 #79FDCC
tetradic
#CC79FD #FD8A79 #AAFD79 #79ECFD
square
#CC79FD #FD8A79 #AAFD79 #79ECFD
split-complementary
#CC79FD #ECFD79 #79FD8A
monochromatic
#9D04F8 #B53DFC #CC79FD #E3B5FE #F4E1FF

Accessibility & contrast

On white

2.72
#CC79FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#CC79FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79FD
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79FD#FFFFFF#000000##000000
##CC79FD1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#709EFA
Tritanopia (blue-blind)
#C68FB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc79fd;
/* rgb */ color: rgb(204, 121, 253);
/* oklch */ color: oklch(71.8% 0.199 311.4);
Tailwind
colors: {
  custom: {
    50: '#dea2fe',
    500: '#cc79fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc79fd;
$custom-light: #dea2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79fd",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 277.727,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7181,
    "c": 0.19866,
    "h": 311.4
  },
  "luminance": 0.33604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC79FD

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

Preview Lab → · Contrast checker → · Palette generator →

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