#CC7ACA#CC7ACA

#CC7ACA is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.5% C 0.145 H 327.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CC7ACA
RGBrgb(204, 122, 202)
HSLhsl(301, 45%, 64%)
HSVhsv(301, 40%, 80%)
CMYKcmyk(0%, 40.2%, 1%, 20%)
CIE-LABlab(62.53, 43.93, -28.23)
CIE-LCHlch(62.53, 52.22, 327.28°)
OKLaboklab(69.47% 0.1224 -0.0769)
OKLCHoklch(69.47% 0.145 327.9)
XYZxyz(42.5213, 31.0227, 59.6139)
Luminance0.3102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7ACA #7ACC7C
analogous
#A57ACC #CC7ACA #CC7AA1
triadic
#CC7ACA #CACC7A #7ACACC
tetradic
#CC7ACA #CCA57A #7ACC7C #7AA1CC
square
#CC7ACA #CCA57A #7ACC7C #7AA1CC
split-complementary
#CC7ACA #A1CC7A #7ACCA5
monochromatic
#933891 #BB4EB8 #CC7ACA #DDA6DC #EED2ED

Accessibility & contrast

On white

2.91
#CC7ACA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CC7ACA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7ACA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7ACA#FFFFFF#000000##000000
##CC7ACA1.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CD
Deuteranopia (green-blind)
#8A9BC7
Tritanopia (blue-blind)
#D18199
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7aca;
/* rgb */ color: rgb(204, 122, 202);
/* oklch */ color: oklch(69.5% 0.145 327.9);
Tailwind
colors: {
  custom: {
    50: '#dda2da',
    500: '#cc7aca',
    950: '#000000',
  },
}
SCSS
$custom: #cc7aca;
$custom-light: #dda2da;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7aca",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 202
  },
  "hsl": {
    "h": 301.463,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69474,
    "c": 0.14452,
    "h": 327.9
  },
  "luminance": 0.31021
}

Semantic roles & 50–950 ramp

primary
#CC7ACA
secondary
#C3DFC3
accent
#B8312E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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