#CC85E2#CC85E2

#CC85E2 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.3% C 0.150 H 317.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CC85E2
RGBrgb(204, 133, 226)
HSLhsl(286, 62%, 70%)
HSVhsv(286, 41%, 89%)
CMYKcmyk(9.7%, 41.2%, 0%, 11.4%)
CIE-LABlab(65.83, 42.71, -36.51)
CIE-LCHlch(65.83, 56.19, 319.48°)
OKLaboklab(72.28% 0.1114 -0.1006)
OKLCHoklch(72.28% 0.15 317.9)
XYZxyz(47.0149, 35.1048, 76.2360)
Luminance0.3510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC85E2 #9BE285
analogous
#9D85E2 #CC85E2 #E285CA
triadic
#CC85E2 #E2CC85 #85E2CC
tetradic
#CC85E2 #E29D85 #9BE285 #85CAE2
square
#CC85E2 #E29D85 #9BE285 #85CAE2
split-complementary
#CC85E2 #CAE285 #85E29D
monochromatic
#9D2DBF #B754D6 #CC85E2 #E1B6EE #F5E6F9

Accessibility & contrast

On white

2.62
#CC85E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CC85E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC85E2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC85E2#FFFFFF#000000##000000
##CC85E21.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#779BE5
Deuteranopia (green-blind)
#89A2DF
Tritanopia (blue-blind)
#CC91A9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc85e2;
/* rgb */ color: rgb(204, 133, 226);
/* oklch */ color: oklch(72.3% 0.150 317.9);
Tailwind
colors: {
  custom: {
    50: '#ddaaeb',
    500: '#cc85e2',
    950: '#000000',
  },
}
SCSS
$custom: #cc85e2;
$custom-light: #ddaaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc85e2",
  "rgb": {
    "r": 204,
    "g": 133,
    "b": 226
  },
  "hsl": {
    "h": 285.806,
    "s": 61.589,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72278,
    "c": 0.15007,
    "h": 317.9
  },
  "luminance": 0.35103
}

Semantic roles & 50–950 ramp

primary
#CC85E2
secondary
#DBEED5
accent
#C91C45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC85E2

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

Preview Lab → · Contrast checker → · Palette generator →

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