#CC8BDF#CC8BDF

#CC8BDF is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.1% C 0.137 H 318.4°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CC8BDF
RGBrgb(204, 139, 223)
HSLhsl(286, 57%, 71%)
HSVhsv(286, 38%, 87%)
CMYKcmyk(8.5%, 37.7%, 0%, 12.5%)
CIE-LABlab(67.00, 38.89, -33.03)
CIE-LCHlch(67.00, 51.03, 319.66°)
OKLaboklab(73.12% 0.1021 -0.0907)
OKLCHoklch(73.12% 0.137 318.4)
XYZxyz(47.4519, 36.6316, 74.3687)
Luminance0.3663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8BDF #9EDF8B
analogous
#A28BDF #CC8BDF #DF8BC8
triadic
#CC8BDF #DFCC8B #8BDFCC
tetradic
#CC8BDF #DFA28B #9EDF8B #8BC8DF
square
#CC8BDF #DFA28B #9EDF8B #8BC8DF
split-complementary
#CC8BDF #C8DF8B #8BDFA2
monochromatic
#9D34BC #B75BD2 #CC8BDF #E1BBEC #F4E7F8

Accessibility & contrast

On white

2.52
#CC8BDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#CC8BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8BDF
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8BDF#FFFFFF#000000##000000
##CC8BDF1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9FE2
Deuteranopia (green-blind)
#8FA5DC
Tritanopia (blue-blind)
#CC95AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc8bdf;
/* rgb */ color: rgb(204, 139, 223);
/* oklch */ color: oklch(73.1% 0.137 318.4);
Tailwind
colors: {
  custom: {
    50: '#ddaee9',
    500: '#cc8bdf',
    950: '#000000',
  },
}
SCSS
$custom: #cc8bdf;
$custom-light: #ddaee9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8bdf",
  "rgb": {
    "r": 204,
    "g": 139,
    "b": 223
  },
  "hsl": {
    "h": 286.429,
    "s": 56.757,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73117,
    "c": 0.13654,
    "h": 318.4
  },
  "luminance": 0.3663
}

Semantic roles & 50–950 ramp

primary
#CC8BDF
secondary
#DDEED8
accent
#C42146
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC8BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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