#CC91EB#CC91EB

#CC91EB is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.6% C 0.140 H 313.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CC91EB
RGBrgb(204, 145, 235)
HSLhsl(279, 69%, 75%)
HSVhsv(279, 38%, 92%)
CMYKcmyk(13.2%, 38.3%, 0%, 7.8%)
CIE-LABlab(68.81, 38.10, -36.83)
CIE-LCHlch(68.81, 52.99, 315.98°)
OKLaboklab(74.65% 0.096 -0.1016)
OKLCHoklch(74.65% 0.14 313.4)
XYZxyz(50.0202, 39.0873, 83.4907)
Luminance0.3909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91EB #B0EB91
analogous
#9F91EB #CC91EB #EB91DD
triadic
#CC91EB #EBCC91 #91EBCC
tetradic
#CC91EB #EB9F91 #B0EB91 #91DDEB
square
#CC91EB #EB9F91 #B0EB91 #91DDEB
split-complementary
#CC91EB #DDEB91 #91EB9F
monochromatic
#9C29D8 #B45DE2 #CC91EB #E4C5F4 #F3E5FA

Accessibility & contrast

On white

2.38
#CC91EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#CC91EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91EB
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91EB#FFFFFF#000000##000000
##CC91EB1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EE
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#CA9DB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc91eb;
/* rgb */ color: rgb(204, 145, 235);
/* oklch */ color: oklch(74.6% 0.140 313.4);
Tailwind
colors: {
  custom: {
    50: '#ddb2f1',
    500: '#cc91eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc91eb;
$custom-light: #ddb2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91eb",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 279.333,
    "s": 69.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74649,
    "c": 0.13976,
    "h": 313.4
  },
  "luminance": 0.39086
}

Semantic roles & 50–950 ramp

primary
#CC91EB
secondary
#E2F2D9
accent
#D11455
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC91EB

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

Preview Lab → · Contrast checker → · Palette generator →

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