#CC74DB#CC74DB

#CC74DB is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.3% C 0.171 H 321.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CC74DB
RGBrgb(204, 116, 219)
HSLhsl(291, 59%, 66%)
HSVhsv(291, 47%, 86%)
CMYKcmyk(6.8%, 47%, 0%, 14.1%)
CIE-LABlab(62.04, 50.23, -38.53)
CIE-LCHlch(62.04, 63.31, 322.51°)
OKLaboklab(69.34% 0.1342 -0.1063)
OKLCHoklch(69.34% 0.171 321.6)
XYZxyz(43.9320, 30.4444, 70.5663)
Luminance0.3044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74DB #83DB74
analogous
#9874DB #CC74DB #DB74B6
triadic
#CC74DB #DBCC74 #74DBCC
tetradic
#CC74DB #DB9874 #83DB74 #74B6DB
square
#CC74DB #DB9874 #83DB74 #74B6DB
split-complementary
#CC74DB #B6DB74 #74DB98
monochromatic
#972CA9 #BA43CE #CC74DB #DEA5E8 #F0D5F4

Accessibility & contrast

On white

2.96
#CC74DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CC74DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC74DB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74DB#FFFFFF#000000##000000
##CC74DB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#658FDF
Deuteranopia (green-blind)
#7F99D8
Tritanopia (blue-blind)
#CE819D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc74db;
/* rgb */ color: rgb(204, 116, 219);
/* oklch */ color: oklch(69.3% 0.171 321.6);
Tailwind
colors: {
  custom: {
    50: '#dd9fe6',
    500: '#cc74db',
    950: '#000000',
  },
}
SCSS
$custom: #cc74db;
$custom-light: #dd9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74db",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 291.262,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69344,
    "c": 0.17122,
    "h": 321.6
  },
  "luminance": 0.30443
}

Semantic roles & 50–950 ramp

primary
#CC74DB
secondary
#C9E7C4
accent
#C61F37
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CC74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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