#CC74CB#CC74CB

#CC74CB is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.6% C 0.156 H 327.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#CC74CB
RGBrgb(204, 116, 203)
HSLhsl(301, 46%, 63%)
HSVhsv(301, 43%, 80%)
CMYKcmyk(0%, 43.1%, 0.5%, 20%)
CIE-LABlab(61.34, 47.23, -30.62)
CIE-LCHlch(61.34, 56.29, 327.05°)
OKLaboklab(68.6% 0.1314 -0.0836)
OKLCHoklch(68.6% 0.156 327.5)
XYZxyz(41.9260, 29.6420, 60.0014)
Luminance0.2964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74CB #74CC75
analogous
#A174CC #CC74CB #CC749F
triadic
#CC74CB #CBCC74 #74CBCC
tetradic
#CC74CB #CCA174 #74CC75 #749FCC
square
#CC74CB #CCA174 #74CC75 #749FCC
split-complementary
#CC74CB #9FCC74 #74CCA1
monochromatic
#913590 #BC47BA #CC74CB #DCA1DC #EDCEEC

Accessibility & contrast

On white

3.03
#CC74CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#CC74CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC74CB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74CB#FFFFFF#000000##000000
##CC74CB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCE
Deuteranopia (green-blind)
#8598C8
Tritanopia (blue-blind)
#D17D96
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc74cb;
/* rgb */ color: rgb(204, 116, 203);
/* oklch */ color: oklch(68.6% 0.156 327.5);
Tailwind
colors: {
  custom: {
    50: '#dd9edb',
    500: '#cc74cb',
    950: '#000000',
  },
}
SCSS
$custom: #cc74cb;
$custom-light: #dd9edb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74cb",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 300.682,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68602,
    "c": 0.15573,
    "h": 327.5
  },
  "luminance": 0.2964
}

Semantic roles & 50–950 ramp

primary
#CC74CB
secondary
#BEDEBE
accent
#BA2E2C
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150F15
muted
#837E83

Preview Lab

Preview with #CC74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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