#CC8BD2#CC8BD2

#CC8BD2 is a light, vivid purple. Relative luminance 0.360; OKLCH L 72.6% C 0.123 H 323.8°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#CC8BD2
RGBrgb(204, 139, 210)
HSLhsl(295, 44%, 68%)
HSVhsv(295, 34%, 82%)
CMYKcmyk(2.9%, 33.8%, 0%, 17.6%)
CIE-LABlab(66.49, 36.35, -26.60)
CIE-LCHlch(66.49, 45.04, 323.80°)
OKLaboklab(72.56% 0.099 -0.0724)
OKLCHoklch(72.56% 0.123 323.8)
XYZxyz(45.7661, 35.9573, 65.4899)
Luminance0.3596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8BD2 #91D28B
analogous
#A88BD2 #CC8BD2 #D28BB4
triadic
#CC8BD2 #D2CC8B #8BD2CC
tetradic
#CC8BD2 #D2A88B #91D28B #8BB4D2
square
#CC8BD2 #D2A88B #91D28B #8BB4D2
split-complementary
#CC8BD2 #B4D28B #8BD2A8
monochromatic
#9B3FA3 #B95FC1 #CC8BD2 #DFB7E3 #F3E3F4

Accessibility & contrast

On white

2.56
#CC8BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#CC8BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8BD2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8BD2#FFFFFF#000000##000000
##CC8BD21.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#849DD5
Deuteranopia (green-blind)
#94A4D0
Tritanopia (blue-blind)
#CF92A5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc8bd2;
/* rgb */ color: rgb(204, 139, 210);
/* oklch */ color: oklch(72.6% 0.123 323.8);
Tailwind
colors: {
  custom: {
    50: '#dcaee0',
    500: '#cc8bd2',
    950: '#000000',
  },
}
SCSS
$custom: #cc8bd2;
$custom-light: #dcaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8bd2",
  "rgb": {
    "r": 204,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 294.93,
    "s": 44.099,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72561,
    "c": 0.12267,
    "h": 323.8
  },
  "luminance": 0.35956
}

Semantic roles & 50–950 ramp

primary
#CC8BD2
secondary
#D4E7D2
accent
#B72E3A
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CC8BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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