#CC5FBA#CC5FBA

#CC5FBA is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.9% C 0.175 H 334.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CC5FBA
RGBrgb(204, 95, 186)
HSLhsl(310, 52%, 59%)
HSVhsv(310, 53%, 80%)
CMYKcmyk(0%, 53.4%, 8.8%, 20%)
CIE-LABlab(56.65, 54.72, -28.20)
CIE-LCHlch(56.65, 61.56, 332.73°)
OKLaboklab(64.89% 0.1579 -0.0766)
OKLCHoklch(64.89% 0.175 334.1)
XYZxyz(37.8570, 24.5696, 49.1933)
Luminance0.2457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FBA #5FCC71
analogous
#A75FCC #CC5FBA #CC5F83
triadic
#CC5FBA #BACC5F #5FBACC
tetradic
#CC5FBA #CCA75F #5FCC71 #5F83CC
square
#CC5FBA #CCA75F #5FCC71 #5F83CC
split-complementary
#CC5FBA #83CC5F #5FCCA7
monochromatic
#862B77 #B439A0 #CC5FBA #DB8DCE #EABCE2

Accessibility & contrast

On white

3.55
#CC5FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CC5FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FBA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FBA#FFFFFF#000000##000000
##CC5FBA1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBD
Deuteranopia (green-blind)
#7E8EB7
Tritanopia (blue-blind)
#D46684
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5fba;
/* rgb */ color: rgb(204, 95, 186);
/* oklch */ color: oklch(64.9% 0.175 334.1);
Tailwind
colors: {
  custom: {
    50: '#de91cf',
    500: '#cc5fba',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fba;
$custom-light: #de91cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fba",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 309.908,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64886,
    "c": 0.17545,
    "h": 334.1
  },
  "luminance": 0.24567
}

Semantic roles & 50–950 ramp

primary
#CC5FBA
secondary
#AED9B5
accent
#DB644D
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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