#CC7CBF#CC7CBF

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

Color values

HEX#CC7CBF
RGBrgb(204, 124, 191)
HSLhsl(310, 44%, 64%)
HSVhsv(310, 39%, 80%)
CMYKcmyk(0%, 39.2%, 6.4%, 20%)
CIE-LABlab(62.52, 40.91, -22.02)
CIE-LCHlch(62.52, 46.46, 331.70°)
OKLaboklab(69.33% 0.1167 -0.0594)
OKLCHoklch(69.33% 0.131 333)
XYZxyz(41.5131, 31.0164, 53.0802)
Luminance0.3101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CBF #7CCC89
analogous
#B17CCC #CC7CBF #CC7C97
triadic
#CC7CBF #BFCC7C #7CBFCC
tetradic
#CC7CBF #CCB17C #7CCC89 #7C97CC
square
#CC7CBF #CCB17C #7CCC89 #7C97CC
split-complementary
#CC7CBF #97CC7C #7CCCB1
monochromatic
#943A85 #BB50A9 #CC7CBF #DDA8D5 #EED4EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7CBF#FFFFFF#000000##000000
##CC7CBF1.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)
#7B90C1
Deuteranopia (green-blind)
#8F9BBD
Tritanopia (blue-blind)
#D38095
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7cbf;
/* rgb */ color: rgb(204, 124, 191);
/* oklch */ color: oklch(69.3% 0.131 333.0);
Tailwind
colors: {
  custom: {
    50: '#dda3d2',
    500: '#cc7cbf',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cbf;
$custom-light: #dda3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cbf",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 191
  },
  "hsl": {
    "h": 309.75,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6933,
    "c": 0.13097,
    "h": 333
  },
  "luminance": 0.31014
}

Semantic roles & 50–950 ramp

primary
#CC7CBF
secondary
#C4E0C9
accent
#B7452E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CC7CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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