#CC5FD3#CC5FD3

#CC5FD3 is a light, vivid purple. Relative luminance 0.257; OKLCH L 66.1% C 0.197 H 325.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#CC5FD3
RGBrgb(204, 95, 211)
HSLhsl(296, 57%, 60%)
HSVhsv(296, 55%, 83%)
CMYKcmyk(3.3%, 55%, 0%, 17.3%)
CIE-LABlab(57.78, 59.02, -40.71)
CIE-LCHlch(57.78, 71.70, 325.40°)
OKLaboklab(66.08% 0.1615 -0.1124)
OKLCHoklch(66.08% 0.197 325.2)
XYZxyz(40.7510, 25.7272, 64.4348)
Luminance0.2572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FD3 #66D35F
analogous
#925FD3 #CC5FD3 #D35FA0
triadic
#CC5FD3 #D3CC5F #5FD3CC
tetradic
#CC5FD3 #D3925F #66D35F #5FA0D3
square
#CC5FD3 #D3925F #66D35F #5FA0D3
split-complementary
#CC5FD3 #A0D35F #5FD392
monochromatic
#8A2890 #B835C0 #CC5FD3 #DB8FE0 #EBBFED

Accessibility & contrast

On white

3.42
#CC5FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#CC5FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FD3
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FD3#FFFFFF#000000##000000
##CC5FD31.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D7
Deuteranopia (green-blind)
#7390D0
Tritanopia (blue-blind)
#D06E90
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5fd3;
/* rgb */ color: rgb(204, 95, 211);
/* oklch */ color: oklch(66.1% 0.197 325.2);
Tailwind
colors: {
  custom: {
    50: '#de92e1',
    500: '#cc5fd3',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fd3;
$custom-light: #de92e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fd3",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 296.379,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.6608,
    "c": 0.19677,
    "h": 325.2
  },
  "luminance": 0.25725
}

Semantic roles & 50–950 ramp

primary
#CC5FD3
secondary
#B3DDB1
accent
#E04851
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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