#CC74FB#CC74FB

#CC74FB is a light, highly saturated violet. Relative luminance 0.323; OKLCH L 71.0% C 0.204 H 312.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CC74FB
RGBrgb(204, 116, 251)
HSLhsl(279, 94%, 72%)
HSVhsv(279, 54%, 98%)
CMYKcmyk(18.7%, 53.8%, 0%, 1.6%)
CIE-LABlab(63.59, 56.67, -53.84)
CIE-LCHlch(63.59, 78.17, 316.46°)
OKLaboklab(70.99% 0.1377 -0.1507)
OKLCHoklch(70.99% 0.204 312.4)
XYZxyz(48.5568, 32.2943, 94.9236)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74FB #A3FB74
analogous
#8974FB #CC74FB #FB74E7
triadic
#CC74FB #FBCC74 #74FBCC
tetradic
#CC74FB #FB8974 #A3FB74 #74E7FB
square
#CC74FB #FB8974 #A3FB74 #74E7FB
split-complementary
#CC74FB #E7FB74 #74FB89
monochromatic
#9D07EE #B639F9 #CC74FB #E2AFFD #F4E1FE

Accessibility & contrast

On white

2.82
#CC74FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CC74FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC74FB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74FB#FFFFFF#000000##000000
##CC74FB1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc74fb;
/* rgb */ color: rgb(204, 116, 251);
/* oklch */ color: oklch(71.0% 0.204 312.4);
Tailwind
colors: {
  custom: {
    50: '#de9ffd',
    500: '#cc74fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc74fb;
$custom-light: #de9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74fb",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 279.111,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70994,
    "c": 0.20412,
    "h": 312.4
  },
  "luminance": 0.32293
}

Semantic roles & 50–950 ramp

primary
#CC74FB
secondary
#E0F6D4
accent
#E60050
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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