#CC7BEC#CC7BEC

#CC7BEC is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.2% C 0.177 H 315.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CC7BEC
RGBrgb(204, 123, 236)
HSLhsl(283, 75%, 70%)
HSVhsv(283, 48%, 93%)
CMYKcmyk(13.6%, 47.9%, 0%, 7.5%)
CIE-LABlab(64.21, 50.00, -44.58)
CIE-LCHlch(64.21, 66.99, 318.28°)
OKLaboklab(71.21% 0.127 -0.1238)
OKLCHoklch(71.21% 0.177 315.7)
XYZxyz(47.1228, 33.0608, 83.2397)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BEC #9BEC7B
analogous
#937BEC #CC7BEC #EC7BD3
triadic
#CC7BEC #ECCC7B #7BECCC
tetradic
#CC7BEC #EC937B #9BEC7B #7BD3EC
square
#CC7BEC #EC937B #9BEC7B #7BD3EC
split-complementary
#CC7BEC #D3EC7B #7BEC93
monochromatic
#9D1ECF #B746E4 #CC7BEC #E1B0F4 #F5E4FB

Accessibility & contrast

On white

2.76
#CC7BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CC7BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BEC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BEC#FFFFFF#000000##000000
##CC7BEC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#CA8CA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc7bec;
/* rgb */ color: rgb(204, 123, 236);
/* oklch */ color: oklch(71.2% 0.177 315.7);
Tailwind
colors: {
  custom: {
    50: '#dda3f2',
    500: '#cc7bec',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bec;
$custom-light: #dda3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bec",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 283.009,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71215,
    "c": 0.17734,
    "h": 315.7
  },
  "luminance": 0.33059
}

Semantic roles & 50–950 ramp

primary
#CC7BEC
secondary
#DBF1D2
accent
#D70F47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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