#CC79FB#CC79FB

#CC79FB is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.7% C 0.197 H 311.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CC79FB
RGBrgb(204, 121, 251)
HSLhsl(278, 94%, 73%)
HSVhsv(278, 52%, 98%)
CMYKcmyk(18.7%, 51.8%, 0%, 1.6%)
CIE-LABlab(64.55, 54.14, -52.32)
CIE-LCHlch(64.55, 75.29, 315.98°)
OKLaboklab(71.7% 0.1313 -0.1463)
OKLCHoklch(71.7% 0.197 311.9)
XYZxyz(49.1487, 33.4782, 95.1209)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79FB #A8FB79
analogous
#8B79FB #CC79FB #FB79E9
triadic
#CC79FB #FBCC79 #79FBCC
tetradic
#CC79FB #FB8B79 #A8FB79 #79E9FB
square
#CC79FB #FB8B79 #A8FB79 #79E9FB
split-complementary
#CC79FB #E9FB79 #79FB8B
monochromatic
#9D07F2 #B53EF9 #CC79FB #E3B4FD #F4E1FE

Accessibility & contrast

On white

2.73
#CC79FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CC79FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79FB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79FB#FFFFFF#000000##000000
##CC79FB1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#C78FAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc79fb;
/* rgb */ color: rgb(204, 121, 251);
/* oklch */ color: oklch(71.7% 0.197 311.9);
Tailwind
colors: {
  custom: {
    50: '#dea2fd',
    500: '#cc79fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc79fb;
$custom-light: #dea2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79fb",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 278.308,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71702,
    "c": 0.19652,
    "h": 311.9
  },
  "luminance": 0.33477
}

Semantic roles & 50–950 ramp

primary
#CC79FB
secondary
#E1F6D5
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC79FB

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

Preview Lab → · Contrast checker → · Palette generator →

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