#CC5CCB#CC5CCB

#CC5CCB is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.3% C 0.194 H 327.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CC5CCB
RGBrgb(204, 92, 203)
HSLhsl(301, 52%, 58%)
HSVhsv(301, 55%, 80%)
CMYKcmyk(0%, 54.9%, 0.5%, 20%)
CIE-LABlab(56.89, 58.99, -37.57)
CIE-LCHlch(56.89, 69.94, 327.51°)
OKLaboklab(65.3% 0.1645 -0.1033)
OKLCHoklch(65.3% 0.194 327.9)
XYZxyz(39.5079, 24.8059, 59.1954)
Luminance0.2480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CCB #5CCC5D
analogous
#955CCC #CC5CCB #CC5C93
triadic
#CC5CCB #CBCC5C #5CCBCC
tetradic
#CC5CCB #CC955C #5CCC5D #5C93CC
square
#CC5CCB #CC955C #5CCC5D #5C93CC
split-complementary
#CC5CCB #93CC5C #5CCC95
monochromatic
#842983 #B338B2 #CC5CCB #DB8BDA #E9B9E9

Accessibility & contrast

On white

3.52
#CC5CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CC5CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CCB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CCB#FFFFFF#000000##000000
##CC5CCB1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCF
Deuteranopia (green-blind)
#758EC8
Tritanopia (blue-blind)
#D2698B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5ccb;
/* rgb */ color: rgb(204, 92, 203);
/* oklch */ color: oklch(65.3% 0.194 327.9);
Tailwind
colors: {
  custom: {
    50: '#de90db',
    500: '#cc5ccb',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ccb;
$custom-light: #de90db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ccb",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 300.536,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65303,
    "c": 0.19424,
    "h": 327.9
  },
  "luminance": 0.24803
}

Semantic roles & 50–950 ramp

primary
#CC5CCB
secondary
#ACD8AC
accent
#DC4D4C
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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