#CC91FD#CC91FD

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

Color values

HEX#CC91FD
RGBrgb(204, 145, 253)
HSLhsl(273, 96%, 78%)
HSVhsv(273, 43%, 99%)
CMYKcmyk(19.4%, 42.7%, 0%, 0.8%)
CIE-LABlab(69.60, 41.95, -45.44)
CIE-LCHlch(69.60, 61.84, 312.71°)
OKLaboklab(75.5% 0.0993 -0.1264)
OKLCHoklch(75.5% 0.161 308.2)
XYZxyz(52.7535, 40.1806, 97.8860)
Luminance0.4018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC91FD #C2FD91
analogous
#9691FD #CC91FD #FD91F8
triadic
#CC91FD #FDCC91 #91FDCC
tetradic
#CC91FD #FD9691 #C2FD91 #91F8FD
square
#CC91FD #FD9691 #C2FD91 #91F8FD
split-complementary
#CC91FD #F8FD91 #91FD96
monochromatic
#9419FB #B055FC #CC91FD #E8CDFE #F1E1FE

Accessibility & contrast

On white

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

On black

9.04
#CC91FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC91FD
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC91FD#FFFFFF#000000##000000
##CC91FD1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc91fd;
/* rgb */ color: rgb(204, 145, 253);
/* oklch */ color: oklch(75.5% 0.161 308.2);
Tailwind
colors: {
  custom: {
    50: '#ddb2fe',
    500: '#cc91fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc91fd;
$custom-light: #ddb2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc91fd",
  "rgb": {
    "r": 204,
    "g": 145,
    "b": 253
  },
  "hsl": {
    "h": 272.778,
    "s": 96.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75496,
    "c": 0.16077,
    "h": 308.2
  },
  "luminance": 0.4018
}

Semantic roles & 50–950 ramp

primary
#CC91FD
secondary
#E4F7D4
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC91FD

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

Preview Lab → · Contrast checker → · Palette generator →

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