#CC91FF#CC91FF

#CC91FF is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.6% C 0.163 H 307.7°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#CC91FF
RGBrgb(204, 145, 255)
HSLhsl(272, 100%, 78%)
HSVhsv(272, 43%, 100%)
CMYKcmyk(20%, 43.1%, 0%, 0%)
CIE-LABlab(69.69, 42.39, -46.39)
CIE-LCHlch(69.69, 62.84, 312.42°)
OKLaboklab(75.59% 0.0997 -0.1291)
OKLCHoklch(75.59% 0.163 307.7)
XYZxyz(53.0737, 40.3087, 99.5728)
Luminance0.4031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91FF #C4FF91
analogous
#9591FF #CC91FF #FF91FB
triadic
#CC91FF #FFCC91 #91FFCC
tetradic
#CC91FF #FF9591 #C4FF91 #91FBFF
square
#CC91FF #FF9591 #C4FF91 #91FBFF
split-complementary
#CC91FF #FBFF91 #91FF95
monochromatic
#9317FF #B054FF #CC91FF #E8CEFF #F1E0FF

Accessibility & contrast

On white

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

On black

9.06
#CC91FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91FF
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91FF#FFFFFF#000000##000000
##CC91FF1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A8FF
Deuteranopia (green-blind)
#86ABFC
Tritanopia (blue-blind)
#C5A3BC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc91ff;
/* rgb */ color: rgb(204, 145, 255);
/* oklch */ color: oklch(75.6% 0.163 307.7);
Tailwind
colors: {
  custom: {
    50: '#ddb2ff',
    500: '#cc91ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc91ff;
$custom-light: #ddb2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91ff",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 255
  },
  "hsl": {
    "h": 272.182,
    "s": 100,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75594,
    "c": 0.16312,
    "h": 307.7
  },
  "luminance": 0.40308
}

Semantic roles & 50–950 ramp

primary
#CC91FF
secondary
#E4F7D4
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC91FF

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

Preview Lab → · Contrast checker → · Palette generator →

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