#CC5FD2#CC5FD2

#CC5FD2 is a light, vivid purple. Relative luminance 0.257; OKLCH L 66.0% C 0.196 H 325.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CC5FD2
RGBrgb(204, 95, 210)
HSLhsl(297, 56%, 60%)
HSVhsv(297, 55%, 82%)
CMYKcmyk(2.9%, 54.8%, 0%, 17.6%)
CIE-LABlab(57.73, 58.84, -40.22)
CIE-LCHlch(57.73, 71.27, 325.65°)
OKLaboklab(66.03% 0.1614 -0.111)
OKLCHoklch(66.03% 0.196 325.5)
XYZxyz(40.6260, 25.6772, 63.7766)
Luminance0.2567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FD2 #65D25F
analogous
#935FD2 #CC5FD2 #D25F9E
triadic
#CC5FD2 #D2CC5F #5FD2CC
tetradic
#CC5FD2 #D2935F #65D25F #5F9ED2
square
#CC5FD2 #D2935F #65D25F #5F9ED2
split-complementary
#CC5FD2 #9ED25F #5FD293
monochromatic
#89288F #B736BE #CC5FD2 #DB8FDF #EABFED

Accessibility & contrast

On white

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

On black

6.13
#CC5FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FD2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FD2#FFFFFF#000000##000000
##CC5FD21.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D6
Deuteranopia (green-blind)
#748FCF
Tritanopia (blue-blind)
#D06D90
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5fd2;
/* rgb */ color: rgb(204, 95, 210);
/* oklch */ color: oklch(66.0% 0.196 325.5);
Tailwind
colors: {
  custom: {
    50: '#de91e0',
    500: '#cc5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fd2;
$custom-light: #de91e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fd2",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 296.87,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66029,
    "c": 0.19587,
    "h": 325.5
  },
  "luminance": 0.25675
}

Semantic roles & 50–950 ramp

primary
#CC5FD2
secondary
#B2DDB0
accent
#DF4850
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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