#CC91E2#CC91E2

#CC91E2 is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.2% C 0.130 H 316.5°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CC91E2
RGBrgb(204, 145, 226)
HSLhsl(284, 58%, 73%)
HSVhsv(284, 36%, 89%)
CMYKcmyk(9.7%, 35.8%, 0%, 11.4%)
CIE-LABlab(68.45, 36.25, -32.45)
CIE-LCHlch(68.45, 48.65, 318.17°)
OKLaboklab(74.25% 0.094 -0.0891)
OKLCHoklch(74.25% 0.13 316.5)
XYZxyz(48.7527, 38.5803, 76.8153)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91E2 #A7E291
analogous
#A491E2 #CC91E2 #E291CF
triadic
#CC91E2 #E2CC91 #91E2CC
tetradic
#CC91E2 #E2A491 #A7E291 #91CFE2
square
#CC91E2 #E2A491 #A7E291 #91CFE2
split-complementary
#CC91E2 #CFE291 #91E2A4
monochromatic
#9D34C5 #B661D5 #CC91E2 #E2C1EF #F4E7F9

Accessibility & contrast

On white

2.41
#CC91E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CC91E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91E2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91E2#FFFFFF#000000##000000
##CC91E21.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A3E5
Deuteranopia (green-blind)
#93A9E0
Tritanopia (blue-blind)
#CB9BAF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc91e2;
/* rgb */ color: rgb(204, 145, 226);
/* oklch */ color: oklch(74.2% 0.130 316.5);
Tailwind
colors: {
  custom: {
    50: '#dcb2eb',
    500: '#cc91e2',
    950: '#000000',
  },
}
SCSS
$custom: #cc91e2;
$custom-light: #dcb2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91e2",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 226
  },
  "hsl": {
    "h": 283.704,
    "s": 58.273,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74249,
    "c": 0.1295,
    "h": 316.5
  },
  "luminance": 0.38579
}

Semantic roles & 50–950 ramp

primary
#CC91E2
secondary
#E1F0DB
accent
#C6204D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC91E2

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

Preview Lab → · Contrast checker → · Palette generator →

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