#CC7BC7#CC7BC7

#CC7BC7 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.5% C 0.140 H 329.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CC7BC7
RGBrgb(204, 123, 199)
HSLhsl(304, 44%, 64%)
HSVhsv(304, 40%, 80%)
CMYKcmyk(0%, 39.7%, 2.5%, 20%)
CIE-LABlab(62.62, 42.86, -26.40)
CIE-LCHlch(62.62, 50.34, 328.37°)
OKLaboklab(69.5% 0.1202 -0.0717)
OKLCHoklch(69.5% 0.14 329.2)
XYZxyz(42.2930, 31.1288, 57.8025)
Luminance0.3113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BC7 #7BCC80
analogous
#A97BCC #CC7BC7 #CC7B9F
triadic
#CC7BC7 #C7CC7B #7BC7CC
tetradic
#CC7BC7 #CCA97B #7BCC80 #7B9FCC
square
#CC7BC7 #CCA97B #7BCC80 #7B9FCC
split-complementary
#CC7BC7 #9FCC7B #7BCCA9
monochromatic
#94398E #BB4FB4 #CC7BC7 #DDA7DA #EED3EC

Accessibility & contrast

On white

2.91
#CC7BC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CC7BC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BC7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BC7#FFFFFF#000000##000000
##CC7BC71.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7791CA
Deuteranopia (green-blind)
#8C9BC4
Tritanopia (blue-blind)
#D18198
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7bc7;
/* rgb */ color: rgb(204, 123, 199);
/* oklch */ color: oklch(69.5% 0.140 329.2);
Tailwind
colors: {
  custom: {
    50: '#dda3d8',
    500: '#cc7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bc7;
$custom-light: #dda3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bc7",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 303.704,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69502,
    "c": 0.13998,
    "h": 329.2
  },
  "luminance": 0.31127
}

Semantic roles & 50–950 ramp

primary
#CC7BC7
secondary
#C3E0C5
accent
#B7372E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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