#CC5BF4#CC5BF4

#CC5BF4 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.4% C 0.233 H 316.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#CC5BF4
RGBrgb(204, 91, 244)
HSLhsl(284, 87%, 66%)
HSVhsv(284, 63%, 96%)
CMYKcmyk(16.4%, 62.7%, 0%, 4.3%)
CIE-LABlab(58.84, 67.03, -57.54)
CIE-LCHlch(58.84, 88.34, 319.36°)
OKLaboklab(67.41% 0.1678 -0.1613)
OKLCHoklch(67.41% 0.233 316.1)
XYZxyz(44.9696, 26.8528, 88.3847)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BF4 #83F45B
analogous
#7F5BF4 #CC5BF4 #F45BCF
triadic
#CC5BF4 #F4CC5B #5BF4CC
tetradic
#CC5BF4 #F47F5B #83F45B #5BCFF4
square
#CC5BF4 #F47F5B #83F45B #5BCFF4
split-complementary
#CC5BF4 #CFF45B #5BF47F
monochromatic
#970DC7 #BA22F0 #CC5BF4 #DE94F8 #F0CEFC

Accessibility & contrast

On white

3.30
#CC5BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#CC5BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BF4
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BF4#FFFFFF#000000##000000
##CC5BF41.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2387F9
Deuteranopia (green-blind)
#5B91F0
Tritanopia (blue-blind)
#CA77A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5bf4;
/* rgb */ color: rgb(204, 91, 244);
/* oklch */ color: oklch(67.4% 0.233 316.1);
Tailwind
colors: {
  custom: {
    50: '#df90f8',
    500: '#cc5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5bf4;
$custom-light: #df90f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5bf4",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 284.314,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6741,
    "c": 0.23276,
    "h": 316.1
  },
  "luminance": 0.26851
}

Semantic roles & 50–950 ramp

primary
#CC5BF4
secondary
#C9EFBC
accent
#E4023D
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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