#CC74DD#CC74DD

#CC74DD is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.4% C 0.173 H 321.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CC74DD
RGBrgb(204, 116, 221)
HSLhsl(290, 61%, 66%)
HSVhsv(290, 48%, 87%)
CMYKcmyk(7.7%, 47.5%, 0%, 13.3%)
CIE-LABlab(62.13, 50.61, -39.51)
CIE-LCHlch(62.13, 64.21, 322.02°)
OKLaboklab(69.44% 0.1345 -0.1091)
OKLCHoklch(69.44% 0.173 321)
XYZxyz(44.1968, 30.5504, 71.9613)
Luminance0.3055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74DD #85DD74
analogous
#9774DD #CC74DD #DD74B9
triadic
#CC74DD #DDCC74 #74DDCC
tetradic
#CC74DD #DD9774 #85DD74 #74B9DD
square
#CC74DD #DD9774 #85DD74 #74B9DD
split-complementary
#CC74DD #B9DD74 #74DD97
monochromatic
#972AAC #BA43D1 #CC74DD #DEA5E9 #F0D6F5

Accessibility & contrast

On white

2.95
#CC74DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CC74DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC74DD
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74DD#FFFFFF#000000##000000
##CC74DD1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E1
Deuteranopia (green-blind)
#7E9ADA
Tritanopia (blue-blind)
#CE829E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc74dd;
/* rgb */ color: rgb(204, 116, 221);
/* oklch */ color: oklch(69.4% 0.173 321.0);
Tailwind
colors: {
  custom: {
    50: '#dd9fe8',
    500: '#cc74dd',
    950: '#000000',
  },
}
SCSS
$custom: #cc74dd;
$custom-light: #dd9fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74dd",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 290.286,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69441,
    "c": 0.17321,
    "h": 321
  },
  "luminance": 0.30549
}

Semantic roles & 50–950 ramp

primary
#CC74DD
secondary
#CBE8C5
accent
#C81D39
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CC74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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