#CC7BC3#CC7BC3

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

Color values

HEX#CC7BC3
RGBrgb(204, 123, 195)
HSLhsl(307, 44%, 64%)
HSVhsv(307, 40%, 80%)
CMYKcmyk(0%, 39.7%, 4.4%, 20%)
CIE-LABlab(62.46, 42.14, -24.38)
CIE-LCHlch(62.46, 48.68, 329.95°)
OKLaboklab(69.34% 0.1192 -0.066)
OKLCHoklch(69.34% 0.136 331)
XYZxyz(41.8346, 30.9455, 55.3887)
Luminance0.3094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BC3 #7BCC84
analogous
#AD7BCC #CC7BC3 #CC7B9B
triadic
#CC7BC3 #C3CC7B #7BC3CC
tetradic
#CC7BC3 #CCAD7B #7BCC84 #7B9BCC
square
#CC7BC3 #CCAD7B #7BCC84 #7B9BCC
split-complementary
#CC7BC3 #9BCC7B #7BCCAD
monochromatic
#94398A #BB4FAF #CC7BC3 #DDA7D7 #EED3EB

Accessibility & contrast

On white

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

On black

7.19
#CC7BC3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BC3
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BC3#FFFFFF#000000##000000
##CC7BC31.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7890C6
Deuteranopia (green-blind)
#8D9BC0
Tritanopia (blue-blind)
#D28096
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7bc3;
/* rgb */ color: rgb(204, 123, 195);
/* oklch */ color: oklch(69.3% 0.136 331.0);
Tailwind
colors: {
  custom: {
    50: '#dda3d5',
    500: '#cc7bc3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bc3;
$custom-light: #dda3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bc3",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 195
  },
  "hsl": {
    "h": 306.667,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69335,
    "c": 0.13629,
    "h": 331
  },
  "luminance": 0.30943
}

Semantic roles & 50–950 ramp

primary
#CC7BC3
secondary
#C3E0C6
accent
#B73D2E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC7BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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