#CC74DF#CC74DF

#CC74DF is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.5% C 0.175 H 320.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CC74DF
RGBrgb(204, 116, 223)
HSLhsl(289, 63%, 66%)
HSVhsv(289, 48%, 87%)
CMYKcmyk(8.5%, 48%, 0%, 12.5%)
CIE-LABlab(62.22, 51.00, -40.49)
CIE-LCHlch(62.22, 65.12, 321.56°)
OKLaboklab(69.54% 0.1348 -0.1119)
OKLCHoklch(69.54% 0.175 320.3)
XYZxyz(44.4649, 30.6576, 73.3730)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74DF #87DF74
analogous
#9774DF #CC74DF #DF74BD
triadic
#CC74DF #DFCC74 #74DFCC
tetradic
#CC74DF #DF9774 #87DF74 #74BDDF
square
#CC74DF #DF9774 #87DF74 #74BDDF
split-complementary
#CC74DF #BDDF74 #74DF97
monochromatic
#9829B0 #BA42D4 #CC74DF #DEA6EA #F1D7F6

Accessibility & contrast

On white

2.94
#CC74DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CC74DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC74DF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74DF#FFFFFF#000000##000000
##CC74DF1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6390E3
Deuteranopia (green-blind)
#7D9ADC
Tritanopia (blue-blind)
#CD829F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc74df;
/* rgb */ color: rgb(204, 116, 223);
/* oklch */ color: oklch(69.5% 0.175 320.3);
Tailwind
colors: {
  custom: {
    50: '#dd9fe9',
    500: '#cc74df',
    950: '#000000',
  },
}
SCSS
$custom: #cc74df;
$custom-light: #dd9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74df",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 289.346,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69538,
    "c": 0.17521,
    "h": 320.3
  },
  "luminance": 0.30656
}

Semantic roles & 50–950 ramp

primary
#CC74DF
secondary
#CCE9C6
accent
#CA1B3A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CC74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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