#CC7BEA#CC7BEA

#CC7BEA is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.1% C 0.175 H 316.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CC7BEA
RGBrgb(204, 123, 234)
HSLhsl(284, 73%, 70%)
HSVhsv(284, 47%, 92%)
CMYKcmyk(12.8%, 47.4%, 0%, 8.2%)
CIE-LABlab(64.12, 49.59, -43.62)
CIE-LCHlch(64.12, 66.05, 318.66°)
OKLaboklab(71.11% 0.1267 -0.121)
OKLCHoklch(71.11% 0.175 316.3)
XYZxyz(46.8339, 32.9452, 81.7179)
Luminance0.3294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BEA #99EA7B
analogous
#957BEA #CC7BEA #EA7BD0
triadic
#CC7BEA #EACC7B #7BEACC
tetradic
#CC7BEA #EA957B #99EA7B #7BD0EA
square
#CC7BEA #EA957B #99EA7B #7BD0EA
split-complementary
#CC7BEA #D0EA7B #7BEA95
monochromatic
#9C20CA #B846E2 #CC7BEA #E0B0F2 #F5E5FB

Accessibility & contrast

On white

2.77
#CC7BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CC7BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BEA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BEA#FFFFFF#000000##000000
##CC7BEA1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#CB8BA8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc7bea;
/* rgb */ color: rgb(204, 123, 234);
/* oklch */ color: oklch(71.1% 0.175 316.3);
Tailwind
colors: {
  custom: {
    50: '#dda3f1',
    500: '#cc7bea',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bea;
$custom-light: #dda3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bea",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 283.784,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.71114,
    "c": 0.17522,
    "h": 316.3
  },
  "luminance": 0.32944
}

Semantic roles & 50–950 ramp

primary
#CC7BEA
secondary
#D9F0D1
accent
#D51146
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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