#CC7BDD#CC7BDD

#CC7BDD is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.5% C 0.162 H 320.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CC7BDD
RGBrgb(204, 123, 221)
HSLhsl(290, 59%, 67%)
HSVhsv(290, 44%, 87%)
CMYKcmyk(7.7%, 44.3%, 0%, 13.3%)
CIE-LABlab(63.53, 47.00, -37.32)
CIE-LCHlch(63.53, 60.01, 321.55°)
OKLaboklab(70.49% 0.1247 -0.1028)
OKLCHoklch(70.49% 0.162 320.5)
XYZxyz(45.0344, 32.2254, 72.2405)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BDD #8CDD7B
analogous
#9B7BDD #CC7BDD #DD7BBD
triadic
#CC7BDD #DDCC7B #7BDDCC
tetradic
#CC7BDD #DD9B7B #8CDD7B #7BBDDD
square
#CC7BDD #DD9B7B #8CDD7B #7BBDDD
split-complementary
#CC7BDD #BDDD7B #7BDD9B
monochromatic
#9A2DB0 #B94AD0 #CC7BDD #DFACEA #F2DCF6

Accessibility & contrast

On white

2.82
#CC7BDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CC7BDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BDD
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BDD#FFFFFF#000000##000000
##CC7BDD1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94E0
Deuteranopia (green-blind)
#839DDA
Tritanopia (blue-blind)
#CD87A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7bdd;
/* rgb */ color: rgb(204, 123, 221);
/* oklch */ color: oklch(70.5% 0.162 320.5);
Tailwind
colors: {
  custom: {
    50: '#dda3e8',
    500: '#cc7bdd',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bdd;
$custom-light: #dda3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bdd",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 289.592,
    "s": 59.036,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70485,
    "c": 0.16164,
    "h": 320.5
  },
  "luminance": 0.32224
}

Semantic roles & 50–950 ramp

primary
#CC7BDD
secondary
#D0E9CB
accent
#C71F3C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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