#CC91EF#CC91EF

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

Color values

HEX#CC91EF
RGBrgb(204, 145, 239)
HSLhsl(278, 75%, 75%)
HSVhsv(278, 39%, 94%)
CMYKcmyk(14.6%, 39.3%, 0%, 6.3%)
CIE-LABlab(68.98, 38.94, -38.76)
CIE-LCHlch(68.98, 54.94, 315.13°)
OKLaboklab(74.83% 0.0968 -0.1071)
OKLCHoklch(74.83% 0.144 312.1)
XYZxyz(50.6046, 39.3211, 86.5685)
Luminance0.3932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91EF #B4EF91
analogous
#9D91EF #CC91EF #EF91E3
triadic
#CC91EF #EFCC91 #91EFCC
tetradic
#CC91EF #EF9D91 #B4EF91 #91E3EF
square
#CC91EF #EF9D91 #B4EF91 #91E3EF
split-complementary
#CC91EF #E3EF91 #91EF9D
monochromatic
#9A26DF #B35CE7 #CC91EF #E5C6F7 #F3E4FB

Accessibility & contrast

On white

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

On black

8.86
#CC91EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91EF
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91EF#FFFFFF#000000##000000
##CC91EF1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F2
Deuteranopia (green-blind)
#8EAAEC
Tritanopia (blue-blind)
#C99EB5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc91ef;
/* rgb */ color: rgb(204, 145, 239);
/* oklch */ color: oklch(74.8% 0.144 312.1);
Tailwind
colors: {
  custom: {
    50: '#ddb2f4',
    500: '#cc91ef',
    950: '#000000',
  },
}
SCSS
$custom: #cc91ef;
$custom-light: #ddb2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91ef",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 277.66,
    "s": 74.603,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74832,
    "c": 0.14439,
    "h": 312.1
  },
  "luminance": 0.3932
}

Semantic roles & 50–950 ramp

primary
#CC91EF
secondary
#E2F3D8
accent
#D70F59
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC91EF

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

Preview Lab → · Contrast checker → · Palette generator →

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