#CC5CD7#CC5CD7

#CC5CD7 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 65.9% C 0.205 H 324.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CC5CD7
RGBrgb(204, 92, 215)
HSLhsl(295, 61%, 60%)
HSVhsv(295, 57%, 84%)
CMYKcmyk(5.1%, 57.2%, 0%, 15.7%)
CIE-LABlab(57.46, 61.12, -43.47)
CIE-LCHlch(57.46, 75.00, 324.58°)
OKLaboklab(65.91% 0.1657 -0.1204)
OKLCHoklch(65.91% 0.205 324)
XYZxyz(40.9936, 25.4001, 67.0203)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CD7 #67D75C
analogous
#8E5CD7 #CC5CD7 #D75CA5
triadic
#CC5CD7 #D7CC5C #5CD7CC
tetradic
#CC5CD7 #D78E5C #67D75C #5CA5D7
square
#CC5CD7 #D78E5C #67D75C #5CA5D7
split-complementary
#CC5CD7 #A5D75C #5CD78E
monochromatic
#8A2494 #B830C5 #CC5CD7 #DB8DE3 #EBBEEF

Accessibility & contrast

On white

3.45
#CC5CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CC5CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CD7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CD7#FFFFFF#000000##000000
##CC5CD71.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4881DB
Deuteranopia (green-blind)
#6F8FD4
Tritanopia (blue-blind)
#D06D91
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5cd7;
/* rgb */ color: rgb(204, 92, 215);
/* oklch */ color: oklch(65.9% 0.205 324.0);
Tailwind
colors: {
  custom: {
    50: '#de90e4',
    500: '#cc5cd7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cd7;
$custom-light: #de90e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cd7",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 294.634,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65914,
    "c": 0.20478,
    "h": 324
  },
  "luminance": 0.25398
}

Semantic roles & 50–950 ramp

primary
#CC5CD7
secondary
#B4DFB0
accent
#C81D2D
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#150D15
muted
#847E84

Preview Lab

Preview with #CC5CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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