#CC5ACF#CC5ACF

#CC5ACF is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.3% C 0.201 H 326.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CC5ACF
RGBrgb(204, 90, 207)
HSLhsl(298, 55%, 58%)
HSVhsv(298, 57%, 81%)
CMYKcmyk(1.4%, 56.5%, 0%, 18.8%)
CIE-LABlab(56.74, 60.60, -40.07)
CIE-LCHlch(56.74, 72.65, 326.52°)
OKLaboklab(65.26% 0.1675 -0.1105)
OKLCHoklch(65.26% 0.201 326.6)
XYZxyz(39.8198, 24.6570, 61.6813)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5ACF #5DCF5A
analogous
#925ACF #CC5ACF #CF5A97
triadic
#CC5ACF #CFCC5A #5ACFCC
tetradic
#CC5ACF #CF925A #5DCF5A #5A97CF
square
#CC5ACF #CF925A #5DCF5A #5A97CF
split-complementary
#CC5ACF #97CF5A #5ACF92
monochromatic
#852787 #B335B7 #CC5ACF #DB89DD #E9B9EB

Accessibility & contrast

On white

3.54
#CC5ACF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CC5ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5ACF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5ACF#FFFFFF#000000##000000
##CC5ACF1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7FD3
Deuteranopia (green-blind)
#728DCC
Tritanopia (blue-blind)
#D1698C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5acf;
/* rgb */ color: rgb(204, 90, 207);
/* oklch */ color: oklch(65.3% 0.201 326.6);
Tailwind
colors: {
  custom: {
    50: '#de8fde',
    500: '#cc5acf',
    950: '#000000',
  },
}
SCSS
$custom: #cc5acf;
$custom-light: #de8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5acf",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 298.462,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65258,
    "c": 0.20066,
    "h": 326.6
  },
  "luminance": 0.24655
}

Semantic roles & 50–950 ramp

primary
#CC5ACF
secondary
#ACDAAB
accent
#DE4A4D
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CC5ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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