#CC91EE#CC91EE

#CC91EE is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.8% C 0.143 H 312.4°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CC91EE
RGBrgb(204, 145, 238)
HSLhsl(278, 73%, 75%)
HSVhsv(278, 39%, 93%)
CMYKcmyk(14.3%, 39.1%, 0%, 6.7%)
CIE-LABlab(68.94, 38.73, -38.28)
CIE-LCHlch(68.94, 54.45, 315.34°)
OKLaboklab(74.79% 0.0966 -0.1057)
OKLCHoklch(74.79% 0.143 312.4)
XYZxyz(50.4572, 39.2621, 85.7926)
Luminance0.3926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91EE #B3EE91
analogous
#9E91EE #CC91EE #EE91E1
triadic
#CC91EE #EECC91 #91EECC
tetradic
#CC91EE #EE9E91 #B3EE91 #91E1EE
square
#CC91EE #EE9E91 #B3EE91 #91E1EE
split-complementary
#CC91EE #E1EE91 #91EE9E
monochromatic
#9B27DE #B35CE6 #CC91EE #E5C6F6 #F3E4FB

Accessibility & contrast

On white

2.37
#CC91EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CC91EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91EE
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91EE#FFFFFF#000000##000000
##CC91EE1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5F1
Deuteranopia (green-blind)
#8EAAEB
Tritanopia (blue-blind)
#C99EB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc91ee;
/* rgb */ color: rgb(204, 145, 238);
/* oklch */ color: oklch(74.8% 0.143 312.4);
Tailwind
colors: {
  custom: {
    50: '#ddb2f4',
    500: '#cc91ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc91ee;
$custom-light: #ddb2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91ee",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 238
  },
  "hsl": {
    "h": 278.065,
    "s": 73.228,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74786,
    "c": 0.14322,
    "h": 312.4
  },
  "luminance": 0.39261
}

Semantic roles & 50–950 ramp

primary
#CC91EE
secondary
#E2F3D8
accent
#D51058
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC91EE

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

Preview Lab → · Contrast checker → · Palette generator →

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