#CC7BED#CC7BED

#CC7BED is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.3% C 0.178 H 315.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CC7BED
RGBrgb(204, 123, 237)
HSLhsl(283, 76%, 71%)
HSVhsv(283, 48%, 93%)
CMYKcmyk(13.9%, 48.1%, 0%, 7.1%)
CIE-LABlab(64.26, 50.20, -45.06)
CIE-LCHlch(64.26, 67.46, 318.09°)
OKLaboklab(71.27% 0.1271 -0.1252)
OKLCHoklch(71.27% 0.178 315.4)
XYZxyz(47.2685, 33.1190, 84.0070)
Luminance0.3312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BED #9CED7B
analogous
#937BED #CC7BED #ED7BD5
triadic
#CC7BED #EDCC7B #7BEDCC
tetradic
#CC7BED #ED937B #9CED7B #7BD5ED
square
#CC7BED #ED937B #9CED7B #7BD5ED
split-complementary
#CC7BED #D5ED7B #7BED93
monochromatic
#9D1DD1 #B745E6 #CC7BED #E1B1F4 #F5E4FB

Accessibility & contrast

On white

2.75
#CC7BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CC7BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BED
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BED#FFFFFF#000000##000000
##CC7BED1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc7bed;
/* rgb */ color: rgb(204, 123, 237);
/* oklch */ color: oklch(71.3% 0.178 315.4);
Tailwind
colors: {
  custom: {
    50: '#dea3f3',
    500: '#cc7bed',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bed;
$custom-light: #dea3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bed",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 282.632,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71265,
    "c": 0.17841,
    "h": 315.4
  },
  "luminance": 0.33118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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