#CC74F7#CC74F7

#CC74F7 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.8% C 0.200 H 313.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CC74F7
RGBrgb(204, 116, 247)
HSLhsl(280, 89%, 71%)
HSVhsv(280, 53%, 97%)
CMYKcmyk(17.4%, 53%, 0%, 3.1%)
CIE-LABlab(63.38, 55.83, -51.97)
CIE-LCHlch(63.38, 76.27, 317.05°)
OKLaboklab(70.78% 0.1374 -0.1452)
OKLCHoklch(70.78% 0.2 313.4)
XYZxyz(47.9329, 32.0448, 91.6379)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74F7 #9FF774
analogous
#8A74F7 #CC74F7 #F774E1
triadic
#CC74F7 #F7CC74 #74F7CC
tetradic
#CC74F7 #F78A74 #9FF774 #74E1F7
square
#CC74F7 #F78A74 #9FF774 #74E1F7
split-complementary
#CC74F7 #E1F774 #74F78A
monochromatic
#9D0DE4 #B73AF4 #CC74F7 #E1AEFA #F4E2FD

Accessibility & contrast

On white

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

On black

7.41
#CC74F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC74F7
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74F7#FFFFFF#000000##000000
##CC74F71.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FB
Deuteranopia (green-blind)
#6F9CF4
Tritanopia (blue-blind)
#C88AAB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc74f7;
/* rgb */ color: rgb(204, 116, 247);
/* oklch */ color: oklch(70.8% 0.200 313.4);
Tailwind
colors: {
  custom: {
    50: '#de9ffa',
    500: '#cc74f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc74f7;
$custom-light: #de9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74f7",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 280.305,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70776,
    "c": 0.19992,
    "h": 313.4
  },
  "luminance": 0.32044
}

Semantic roles & 50–950 ramp

primary
#CC74F7
secondary
#DDF5D2
accent
#E6004B
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC74F7

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

Preview Lab → · Contrast checker → · Palette generator →

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