#CC74F8#CC74F8

#CC74F8 is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 70.8% C 0.201 H 313.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CC74F8
RGBrgb(204, 116, 248)
HSLhsl(280, 90%, 71%)
HSVhsv(280, 53%, 97%)
CMYKcmyk(17.7%, 53.2%, 0%, 2.7%)
CIE-LABlab(63.43, 56.04, -52.44)
CIE-LCHlch(63.43, 76.75, 316.90°)
OKLaboklab(70.83% 0.1375 -0.1466)
OKLCHoklch(70.83% 0.201 313.2)
XYZxyz(48.0876, 32.1067, 92.4528)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74F8 #A0F874
analogous
#8A74F8 #CC74F8 #F874E2
triadic
#CC74F8 #F8CC74 #74F8CC
tetradic
#CC74F8 #F88A74 #A0F874 #74E2F8
square
#CC74F8 #F88A74 #A0F874 #74E2F8
split-complementary
#CC74F8 #E2F874 #74F88A
monochromatic
#9D0CE6 #B73AF5 #CC74F8 #E1AEFB #F4E2FE

Accessibility & contrast

On white

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

On black

7.42
#CC74F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC74F8
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74F8#FFFFFF#000000##000000
##CC74F81.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FC
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#C88AAB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc74f8;
/* rgb */ color: rgb(204, 116, 248);
/* oklch */ color: oklch(70.8% 0.201 313.2);
Tailwind
colors: {
  custom: {
    50: '#de9ffb',
    500: '#cc74f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc74f8;
$custom-light: #de9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74f8",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 280,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7083,
    "c": 0.20096,
    "h": 313.2
  },
  "luminance": 0.32105
}

Semantic roles & 50–950 ramp

primary
#CC74F8
secondary
#DEF5D3
accent
#E6004C
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC74F8

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

Preview Lab → · Contrast checker → · Palette generator →

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