#CC91ED#CC91ED

#CC91ED is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.7% C 0.142 H 312.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CC91ED
RGBrgb(204, 145, 237)
HSLhsl(278, 72%, 75%)
HSVhsv(278, 39%, 93%)
CMYKcmyk(13.9%, 38.8%, 0%, 7.1%)
CIE-LABlab(68.90, 38.52, -37.79)
CIE-LCHlch(68.90, 53.96, 315.55°)
OKLaboklab(74.74% 0.0964 -0.1044)
OKLCHoklch(74.74% 0.142 312.7)
XYZxyz(50.3107, 39.2035, 85.0211)
Luminance0.3920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91ED #B2ED91
analogous
#9E91ED #CC91ED #ED91E0
triadic
#CC91ED #EDCC91 #91EDCC
tetradic
#CC91ED #ED9E91 #B2ED91 #91E0ED
square
#CC91ED #ED9E91 #B2ED91 #91E0ED
split-complementary
#CC91ED #E0ED91 #91ED9E
monochromatic
#9B28DC #B45CE4 #CC91ED #E4C6F6 #F3E5FB

Accessibility & contrast

On white

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

On black

8.84
#CC91ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91ED
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91ED#FFFFFF#000000##000000
##CC91ED1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc91ed;
/* rgb */ color: rgb(204, 145, 237);
/* oklch */ color: oklch(74.7% 0.142 312.7);
Tailwind
colors: {
  custom: {
    50: '#ddb2f3',
    500: '#cc91ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc91ed;
$custom-light: #ddb2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91ed",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 237
  },
  "hsl": {
    "h": 278.478,
    "s": 71.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7474,
    "c": 0.14207,
    "h": 312.7
  },
  "luminance": 0.39203
}

Semantic roles & 50–950 ramp

primary
#CC91ED
secondary
#E2F2D9
accent
#D41257
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC91ED

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

Preview Lab → · Contrast checker → · Palette generator →

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