#CC7BC2#CC7BC2

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

Color values

HEX#CC7BC2
RGBrgb(204, 123, 194)
HSLhsl(307, 44%, 64%)
HSVhsv(307, 40%, 80%)
CMYKcmyk(0%, 39.7%, 4.9%, 20%)
CIE-LABlab(62.42, 41.96, -23.87)
CIE-LCHlch(62.42, 48.28, 330.37°)
OKLaboklab(69.29% 0.119 -0.0646)
OKLCHoklch(69.29% 0.135 331.5)
XYZxyz(41.7220, 30.9004, 54.7952)
Luminance0.3090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BC2 #7BCC85
analogous
#AE7BCC #CC7BC2 #CC7B9A
triadic
#CC7BC2 #C2CC7B #7BC2CC
tetradic
#CC7BC2 #CCAE7B #7BCC85 #7B9ACC
square
#CC7BC2 #CCAE7B #7BCC85 #7B9ACC
split-complementary
#CC7BC2 #9ACC7B #7BCCAE
monochromatic
#943988 #BB4FAE #CC7BC2 #DDA7D6 #EED3EB

Accessibility & contrast

On white

2.92
#CC7BC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CC7BC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BC2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BC2#FFFFFF#000000##000000
##CC7BC21.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7990C5
Deuteranopia (green-blind)
#8E9BC0
Tritanopia (blue-blind)
#D28096
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7bc2;
/* rgb */ color: rgb(204, 123, 194);
/* oklch */ color: oklch(69.3% 0.135 331.5);
Tailwind
colors: {
  custom: {
    50: '#dda3d4',
    500: '#cc7bc2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bc2;
$custom-light: #dda3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bc2",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 307.407,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69294,
    "c": 0.13539,
    "h": 331.5
  },
  "luminance": 0.30898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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