#CC7CCB#CC7CCB

#CC7CCB is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.8% C 0.142 H 327.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CC7CCB
RGBrgb(204, 124, 203)
HSLhsl(301, 44%, 64%)
HSVhsv(301, 39%, 80%)
CMYKcmyk(0%, 39.2%, 0.5%, 20%)
CIE-LABlab(62.98, 43.06, -28.08)
CIE-LCHlch(62.98, 51.41, 326.89°)
OKLaboklab(69.83% 0.1196 -0.0765)
OKLCHoklch(69.83% 0.142 327.4)
XYZxyz(42.8882, 31.5664, 60.3222)
Luminance0.3156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CCB #7CCC7D
analogous
#A57CCC #CC7CCB #CC7CA3
triadic
#CC7CCB #CBCC7C #7CCBCC
tetradic
#CC7CCB #CCA57C #7CCC7D #7CA3CC
square
#CC7CCB #CCA57C #7CCC7D #7CA3CC
split-complementary
#CC7CCB #A3CC7C #7CCCA5
monochromatic
#943A93 #BB50BA #CC7CCB #DDA8DC #EED4EE

Accessibility & contrast

On white

2.87
#CC7CCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CC7CCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CCB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CCB#FFFFFF#000000##000000
##CC7CCB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CE
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#D1839A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc7ccb;
/* rgb */ color: rgb(204, 124, 203);
/* oklch */ color: oklch(69.8% 0.142 327.4);
Tailwind
colors: {
  custom: {
    50: '#dda4db',
    500: '#cc7ccb',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ccb;
$custom-light: #dda4db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ccb",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 203
  },
  "hsl": {
    "h": 300.75,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69829,
    "c": 0.14201,
    "h": 327.4
  },
  "luminance": 0.31564
}

Semantic roles & 50–950 ramp

primary
#CC7CCB
secondary
#C4E0C4
accent
#B7302E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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