#CC91EC#CC91EC

#CC91EC is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.7% C 0.141 H 313.1°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CC91EC
RGBrgb(204, 145, 236)
HSLhsl(279, 71%, 75%)
HSVhsv(279, 39%, 93%)
CMYKcmyk(13.6%, 38.6%, 0%, 7.5%)
CIE-LABlab(68.86, 38.31, -37.31)
CIE-LCHlch(68.86, 53.48, 315.76°)
OKLaboklab(74.69% 0.0962 -0.103)
OKLCHoklch(74.69% 0.141 313.1)
XYZxyz(50.1650, 39.1452, 84.2538)
Luminance0.3914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91EC #B1EC91
analogous
#9F91EC #CC91EC #EC91DF
triadic
#CC91EC #ECCC91 #91ECCC
tetradic
#CC91EC #EC9F91 #B1EC91 #91DFEC
square
#CC91EC #EC9F91 #B1EC91 #91DFEC
split-complementary
#CC91EC #DFEC91 #91EC9F
monochromatic
#9C29DA #B45DE3 #CC91EC #E4C5F5 #F3E5FA

Accessibility & contrast

On white

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

On black

8.83
#CC91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91EC
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91EC#FFFFFF#000000##000000
##CC91EC1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EF
Deuteranopia (green-blind)
#8FA9E9
Tritanopia (blue-blind)
#C99EB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc91ec;
/* rgb */ color: rgb(204, 145, 236);
/* oklch */ color: oklch(74.7% 0.141 313.1);
Tailwind
colors: {
  custom: {
    50: '#ddb2f2',
    500: '#cc91ec',
    950: '#000000',
  },
}
SCSS
$custom: #cc91ec;
$custom-light: #ddb2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91ec",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 278.901,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74694,
    "c": 0.14091,
    "h": 313.1
  },
  "luminance": 0.39144
}

Semantic roles & 50–950 ramp

primary
#CC91EC
secondary
#E2F2D9
accent
#D31356
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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