#CC7ACE#CC7ACE

#CC7ACE is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.6% C 0.148 H 326.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CC7ACE
RGBrgb(204, 122, 206)
HSLhsl(299, 46%, 64%)
HSVhsv(299, 41%, 81%)
CMYKcmyk(1%, 40.8%, 0%, 19.2%)
CIE-LABlab(62.69, 44.67, -30.23)
CIE-LCHlch(62.69, 53.93, 325.91°)
OKLaboklab(69.65% 0.1233 -0.0826)
OKLCHoklch(69.65% 0.148 326.2)
XYZxyz(43.0010, 31.2146, 62.1405)
Luminance0.3121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7ACE #7CCE7A
analogous
#A27ACE #CC7ACE #CE7AA6
triadic
#CC7ACE #CECC7A #7ACECC
tetradic
#CC7ACE #CEA27A #7CCE7A #7AA6CE
square
#CC7ACE #CEA27A #7CCE7A #7AA6CE
split-complementary
#CC7ACE #A6CE7A #7ACEA2
monochromatic
#943796 #BB4DBE #CC7ACE #DDA7DE #EED3EF

Accessibility & contrast

On white

2.90
#CC7ACE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CC7ACE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7ACE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7ACE#FFFFFF#000000##000000
##CC7ACE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D1
Deuteranopia (green-blind)
#899BCB
Tritanopia (blue-blind)
#D0829A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc7ace;
/* rgb */ color: rgb(204, 122, 206);
/* oklch */ color: oklch(69.6% 0.148 326.2);
Tailwind
colors: {
  custom: {
    50: '#dda2dd',
    500: '#cc7ace',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ace;
$custom-light: #dda2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ace",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 206
  },
  "hsl": {
    "h": 298.571,
    "s": 46.154,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69648,
    "c": 0.14836,
    "h": 326.2
  },
  "luminance": 0.31213
}

Semantic roles & 50–950 ramp

primary
#CC7ACE
secondary
#C4E0C3
accent
#B92C2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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