#CC85E7#CC85E7

#CC85E7 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.5% C 0.156 H 316.2°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CC85E7
RGBrgb(204, 133, 231)
HSLhsl(283, 67%, 71%)
HSVhsv(283, 42%, 91%)
CMYKcmyk(11.7%, 42.4%, 0%, 9.4%)
CIE-LABlab(66.05, 43.73, -38.94)
CIE-LCHlch(66.05, 58.55, 318.31°)
OKLaboklab(72.51% 0.1123 -0.1076)
OKLCHoklch(72.51% 0.156 316.2)
XYZxyz(47.7110, 35.3832, 79.9021)
Luminance0.3538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC85E7 #A0E785
analogous
#9B85E7 #CC85E7 #E785D1
triadic
#CC85E7 #E7CC85 #85E7CC
tetradic
#CC85E7 #E79B85 #A0E785 #85D1E7
square
#CC85E7 #E79B85 #A0E785 #85D1E7
split-complementary
#CC85E7 #D1E785 #85E79B
monochromatic
#9D28CA #B752DD #CC85E7 #E1B8F1 #F4E5FA

Accessibility & contrast

On white

2.60
#CC85E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CC85E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC85E7
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC85E7#FFFFFF#000000##000000
##CC85E71.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#749CEB
Deuteranopia (green-blind)
#87A3E4
Tritanopia (blue-blind)
#CB92AB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc85e7;
/* rgb */ color: rgb(204, 133, 231);
/* oklch */ color: oklch(72.5% 0.156 316.2);
Tailwind
colors: {
  custom: {
    50: '#ddaaef',
    500: '#cc85e7',
    950: '#000000',
  },
}
SCSS
$custom: #cc85e7;
$custom-light: #ddaaef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc85e7",
  "rgb": {
    "r": 204,
    "g": 133,
    "b": 231
  },
  "hsl": {
    "h": 283.469,
    "s": 67.123,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7251,
    "c": 0.15551,
    "h": 316.2
  },
  "luminance": 0.35382
}

Semantic roles & 50–950 ramp

primary
#CC85E7
secondary
#DEF1D7
accent
#CF1649
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC85E7

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

Preview Lab → · Contrast checker → · Palette generator →

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