#CC74FC#CC74FC

#CC74FC is a light, highly saturated violet. Relative luminance 0.324; OKLCH L 71.0% C 0.205 H 312.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CC74FC
RGBrgb(204, 116, 252)
HSLhsl(279, 96%, 72%)
HSVhsv(279, 54%, 99%)
CMYKcmyk(19%, 54%, 0%, 1.2%)
CIE-LABlab(63.64, 56.87, -54.31)
CIE-LCHlch(63.64, 78.64, 316.32°)
OKLaboklab(71.05% 0.1378 -0.152)
OKLCHoklch(71.05% 0.205 312.2)
XYZxyz(48.7148, 32.3576, 95.7560)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74FC #A4FC74
analogous
#8874FC #CC74FC #FC74E8
triadic
#CC74FC #FCCC74 #74FCCC
tetradic
#CC74FC #FC8874 #A4FC74 #74E8FC
square
#CC74FC #FC8874 #A4FC74 #74E8FC
split-complementary
#CC74FC #E8FC74 #74FC88
monochromatic
#9D05F0 #B638FB #CC74FC #E2B0FD #F4E1FE

Accessibility & contrast

On white

2.81
#CC74FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CC74FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC74FC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74FC#FFFFFF#000000##000000
##CC74FC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#6C9CF9
Tritanopia (blue-blind)
#C78BAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc74fc;
/* rgb */ color: rgb(204, 116, 252);
/* oklch */ color: oklch(71.0% 0.205 312.2);
Tailwind
colors: {
  custom: {
    50: '#de9ffe',
    500: '#cc74fc',
    950: '#000000',
  },
}
SCSS
$custom: #cc74fc;
$custom-light: #de9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74fc",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 278.824,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71049,
    "c": 0.20516,
    "h": 312.2
  },
  "luminance": 0.32356
}

Semantic roles & 50–950 ramp

primary
#CC74FC
secondary
#E0F7D4
accent
#E60051
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC74FC

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

Preview Lab → · Contrast checker → · Palette generator →

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