#CC91FE#CC91FE

#CC91FE is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.5% C 0.162 H 307.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CC91FE
RGBrgb(204, 145, 254)
HSLhsl(272, 98%, 78%)
HSVhsv(272, 43%, 100%)
CMYKcmyk(19.7%, 42.9%, 0%, 0.4%)
CIE-LABlab(69.64, 42.17, -45.92)
CIE-LCHlch(69.64, 62.34, 312.56°)
OKLaboklab(75.55% 0.0995 -0.1278)
OKLCHoklch(75.55% 0.162 307.9)
XYZxyz(52.9132, 40.2445, 98.7272)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91FE #C3FE91
analogous
#9591FE #CC91FE #FE91F9
triadic
#CC91FE #FECC91 #91FECC
tetradic
#CC91FE #FE9591 #C3FE91 #91F9FE
square
#CC91FE #FE9591 #C3FE91 #91F9FE
split-complementary
#CC91FE #F9FE91 #91FE95
monochromatic
#9418FD #B054FD #CC91FE #E8CEFF #F1E1FF

Accessibility & contrast

On white

2.32
#CC91FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#CC91FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91FE
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91FE#FFFFFF#000000##000000
##CC91FE1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#C5A2BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc91fe;
/* rgb */ color: rgb(204, 145, 254);
/* oklch */ color: oklch(75.5% 0.162 307.9);
Tailwind
colors: {
  custom: {
    50: '#ddb2ff',
    500: '#cc91fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc91fe;
$custom-light: #ddb2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91fe",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 272.477,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75545,
    "c": 0.16194,
    "h": 307.9
  },
  "luminance": 0.40244
}

Semantic roles & 50–950 ramp

primary
#CC91FE
secondary
#E4F7D4
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC91FE

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

Preview Lab → · Contrast checker → · Palette generator →

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