#CC7BC8#CC7BC8

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

Color values

HEX#CC7BC8
RGBrgb(204, 123, 200)
HSLhsl(303, 44%, 64%)
HSVhsv(303, 40%, 80%)
CMYKcmyk(0%, 39.7%, 2%, 20%)
CIE-LABlab(62.66, 43.04, -26.90)
CIE-LCHlch(62.66, 50.75, 327.99°)
OKLaboklab(69.54% 0.1204 -0.0732)
OKLCHoklch(69.54% 0.141 328.7)
XYZxyz(42.4094, 31.1754, 58.4160)
Luminance0.3117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BC8 #7BCC7F
analogous
#A87BCC #CC7BC8 #CC7BA0
triadic
#CC7BC8 #C8CC7B #7BC8CC
tetradic
#CC7BC8 #CCA87B #7BCC7F #7BA0CC
square
#CC7BC8 #CCA87B #7BCC7F #7BA0CC
split-complementary
#CC7BC8 #A0CC7B #7BCCA8
monochromatic
#94398F #BB4FB6 #CC7BC8 #DDA7DA #EED3ED

Accessibility & contrast

On white

2.90
#CC7BC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7BC8#FFFFFF#000000##000000
##CC7BC81.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7691CB
Deuteranopia (green-blind)
#8C9BC5
Tritanopia (blue-blind)
#D18298
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc7bc8;
/* rgb */ color: rgb(204, 123, 200);
/* oklch */ color: oklch(69.5% 0.141 328.7);
Tailwind
colors: {
  custom: {
    50: '#dda3d9',
    500: '#cc7bc8',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bc8;
$custom-light: #dda3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bc8",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 200
  },
  "hsl": {
    "h": 302.963,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69544,
    "c": 0.14091,
    "h": 328.7
  },
  "luminance": 0.31173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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