#CC74F9#CC74F9

#CC74F9 is a light, highly saturated violet. Relative luminance 0.322; OKLCH L 70.9% C 0.202 H 312.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CC74F9
RGBrgb(204, 116, 249)
HSLhsl(280, 92%, 72%)
HSVhsv(280, 53%, 98%)
CMYKcmyk(18.1%, 53.4%, 0%, 2.4%)
CIE-LABlab(63.48, 56.25, -52.91)
CIE-LCHlch(63.48, 77.22, 316.75°)
OKLaboklab(70.88% 0.1376 -0.1479)
OKLCHoklch(70.88% 0.202 312.9)
XYZxyz(48.2432, 32.1689, 93.2720)
Luminance0.3217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74F9 #A1F974
analogous
#8A74F9 #CC74F9 #F974E4
triadic
#CC74F9 #F9CC74 #74F9CC
tetradic
#CC74F9 #F98A74 #A1F974 #74E4F9
square
#CC74F9 #F98A74 #A1F974 #74E4F9
split-complementary
#CC74F9 #E4F974 #74F98A
monochromatic
#9D0AE9 #B639F6 #CC74F9 #E2AFFC #F4E2FE

Accessibility & contrast

On white

2.83
#CC74F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CC74F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC74F9
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74F9#FFFFFF#000000##000000
##CC74F91.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FD
Deuteranopia (green-blind)
#6E9CF6
Tritanopia (blue-blind)
#C88AAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc74f9;
/* rgb */ color: rgb(204, 116, 249);
/* oklch */ color: oklch(70.9% 0.202 312.9);
Tailwind
colors: {
  custom: {
    50: '#de9ffc',
    500: '#cc74f9',
    950: '#000000',
  },
}
SCSS
$custom: #cc74f9;
$custom-light: #de9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74f9",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 279.699,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70884,
    "c": 0.20201,
    "h": 312.9
  },
  "luminance": 0.32168
}

Semantic roles & 50–950 ramp

primary
#CC74F9
secondary
#DFF5D3
accent
#E6004E
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC74F9

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

Preview Lab → · Contrast checker → · Palette generator →

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