#CC8EE2#CC8EE2

#CC8EE2 is a light, vivid purple. Relative luminance 0.377; OKLCH L 73.7% C 0.135 H 316.9°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CC8EE2
RGBrgb(204, 142, 226)
HSLhsl(284, 59%, 72%)
HSVhsv(284, 37%, 89%)
CMYKcmyk(9.7%, 37.2%, 0%, 11.4%)
CIE-LABlab(67.78, 37.88, -33.48)
CIE-LCHlch(67.78, 50.55, 318.53°)
OKLaboklab(73.75% 0.0984 -0.092)
OKLCHoklch(73.75% 0.135 316.9)
XYZxyz(48.3003, 37.6756, 76.6645)
Luminance0.3767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EE2 #A4E28E
analogous
#A28EE2 #CC8EE2 #E28ECE
triadic
#CC8EE2 #E2CC8E #8EE2CC
tetradic
#CC8EE2 #E2A28E #A4E28E #8ECEE2
square
#CC8EE2 #E2A28E #A4E28E #8ECEE2
split-complementary
#CC8EE2 #CEE28E #8EE2A2
monochromatic
#9D32C3 #B65DD6 #CC8EE2 #E2BFEE #F4E7F9

Accessibility & contrast

On white

2.46
#CC8EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#CC8EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EE2
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EE2#FFFFFF#000000##000000
##CC8EE21.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A1E5
Deuteranopia (green-blind)
#91A7DF
Tritanopia (blue-blind)
#CC99AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc8ee2;
/* rgb */ color: rgb(204, 142, 226);
/* oklch */ color: oklch(73.7% 0.135 316.9);
Tailwind
colors: {
  custom: {
    50: '#ddb0eb',
    500: '#cc8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ee2;
$custom-light: #ddb0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ee2",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 284.286,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73746,
    "c": 0.13468,
    "h": 316.9
  },
  "luminance": 0.37674
}

Semantic roles & 50–950 ramp

primary
#CC8EE2
secondary
#E0F0DB
accent
#C71F4B
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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