#CC7BC4#CC7BC4

#CC7BC4 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.4% C 0.137 H 330.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CC7BC4
RGBrgb(204, 123, 196)
HSLhsl(306, 44%, 64%)
HSVhsv(306, 40%, 80%)
CMYKcmyk(0%, 39.7%, 3.9%, 20%)
CIE-LABlab(62.50, 42.32, -24.88)
CIE-LCHlch(62.50, 49.09, 329.55°)
OKLaboklab(69.38% 0.1195 -0.0675)
OKLCHoklch(69.38% 0.137 330.6)
XYZxyz(41.9481, 30.9909, 55.9861)
Luminance0.3099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BC4 #7BCC83
analogous
#AC7BCC #CC7BC4 #CC7B9C
triadic
#CC7BC4 #C4CC7B #7BC4CC
tetradic
#CC7BC4 #CCAC7B #7BCC83 #7B9CCC
square
#CC7BC4 #CCAC7B #7BCC83 #7B9CCC
split-complementary
#CC7BC4 #9CCC7B #7BCCAC
monochromatic
#94398B #BB4FB0 #CC7BC4 #DDA7D8 #EED3EB

Accessibility & contrast

On white

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

On black

7.20
#CC7BC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BC4
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BC4#FFFFFF#000000##000000
##CC7BC41.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7890C7
Deuteranopia (green-blind)
#8D9BC1
Tritanopia (blue-blind)
#D28197
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7bc4;
/* rgb */ color: rgb(204, 123, 196);
/* oklch */ color: oklch(69.4% 0.137 330.6);
Tailwind
colors: {
  custom: {
    50: '#dda3d6',
    500: '#cc7bc4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bc4;
$custom-light: #dda3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bc4",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 196
  },
  "hsl": {
    "h": 305.926,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69376,
    "c": 0.13721,
    "h": 330.6
  },
  "luminance": 0.30989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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