#CC5BF1#CC5BF1

#CC5BF1 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.2% C 0.230 H 316.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#CC5BF1
RGBrgb(204, 91, 241)
HSLhsl(285, 84%, 65%)
HSVhsv(285, 62%, 95%)
CMYKcmyk(15.4%, 62.2%, 0%, 5.5%)
CIE-LABlab(58.67, 66.45, -56.14)
CIE-LCHlch(58.67, 86.99, 319.81°)
OKLaboklab(67.23% 0.1678 -0.1572)
OKLCHoklch(67.23% 0.23 316.9)
XYZxyz(44.5178, 26.6721, 86.0053)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BF1 #80F15B
analogous
#815BF1 #CC5BF1 #F15BCB
triadic
#CC5BF1 #F1CC5B #5BF1CC
tetradic
#CC5BF1 #F1815B #80F15B #5BCBF1
square
#CC5BF1 #F1815B #80F15B #5BCBF1
split-complementary
#CC5BF1 #CBF15B #5BF181
monochromatic
#9610C1 #BA23EC #CC5BF1 #DE93F6 #EFCCFB

Accessibility & contrast

On white

3.32
#CC5BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#CC5BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BF1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BF1#FFFFFF#000000##000000
##CC5BF11.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2986F6
Deuteranopia (green-blind)
#5E91ED
Tritanopia (blue-blind)
#CA769E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5bf1;
/* rgb */ color: rgb(204, 91, 241);
/* oklch */ color: oklch(67.2% 0.230 316.9);
Tailwind
colors: {
  custom: {
    50: '#df90f6',
    500: '#cc5bf1',
    950: '#000000',
  },
}
SCSS
$custom: #cc5bf1;
$custom-light: #df90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5bf1",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 285.2,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67234,
    "c": 0.22997,
    "h": 316.9
  },
  "luminance": 0.2667
}

Semantic roles & 50–950 ramp

primary
#CC5BF1
secondary
#C7EDBA
accent
#E1053B
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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