#CC7BC1#CC7BC1

#CC7BC1 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.3% C 0.134 H 332.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CC7BC1
RGBrgb(204, 123, 193)
HSLhsl(308, 44%, 64%)
HSVhsv(308, 40%, 80%)
CMYKcmyk(0%, 39.7%, 5.4%, 20%)
CIE-LABlab(62.39, 41.79, -23.36)
CIE-LCHlch(62.39, 47.87, 330.79°)
OKLaboklab(69.25% 0.1187 -0.0632)
OKLCHoklch(69.25% 0.134 332)
XYZxyz(41.6100, 30.8557, 54.2057)
Luminance0.3085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BC1 #7BCC86
analogous
#AF7BCC #CC7BC1 #CC7B99
triadic
#CC7BC1 #C1CC7B #7BC1CC
tetradic
#CC7BC1 #CCAF7B #7BCC86 #7B99CC
square
#CC7BC1 #CCAF7B #7BCC86 #7B99CC
split-complementary
#CC7BC1 #99CC7B #7BCCAF
monochromatic
#943987 #BB4FAC #CC7BC1 #DDA7D6 #EED3EA

Accessibility & contrast

On white

2.93
#CC7BC1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CC7BC1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BC1
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BC1#FFFFFF#000000##000000
##CC7BC11.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7990C4
Deuteranopia (green-blind)
#8E9BBF
Tritanopia (blue-blind)
#D28095
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7bc1;
/* rgb */ color: rgb(204, 123, 193);
/* oklch */ color: oklch(69.3% 0.134 332.0);
Tailwind
colors: {
  custom: {
    50: '#dda3d4',
    500: '#cc7bc1',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bc1;
$custom-light: #dda3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bc1",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 193
  },
  "hsl": {
    "h": 308.148,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69253,
    "c": 0.13449,
    "h": 332
  },
  "luminance": 0.30854
}

Semantic roles & 50–950 ramp

primary
#CC7BC1
secondary
#C3E0C7
accent
#B7412E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC7BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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