#CC5BF8#CC5BF8

#CC5BF8 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.6% C 0.236 H 315.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CC5BF8
RGBrgb(204, 91, 248)
HSLhsl(283, 92%, 66%)
HSVhsv(283, 63%, 97%)
CMYKcmyk(17.7%, 63.3%, 0%, 2.7%)
CIE-LABlab(59.07, 67.82, -59.39)
CIE-LCHlch(59.07, 90.15, 318.79°)
OKLaboklab(67.65% 0.1677 -0.1668)
OKLCHoklch(67.65% 0.236 315.2)
XYZxyz(45.5835, 27.0984, 91.6181)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BF8 #87F85B
analogous
#7E5BF8 #CC5BF8 #F85BD5
triadic
#CC5BF8 #F8CC5B #5BF8CC
tetradic
#CC5BF8 #F87E5B #87F85B #5BD5F8
square
#CC5BF8 #F87E5B #87F85B #5BD5F8
split-complementary
#CC5BF8 #D5F85B #5BF87E
monochromatic
#9809D0 #BA20F5 #CC5BF8 #DE96FB #F1D0FD

Accessibility & contrast

On white

3.27
#CC5BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CC5BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BF8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BF8#FFFFFF#000000##000000
##CC5BF81.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1988FD
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#C978A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5bf8;
/* rgb */ color: rgb(204, 91, 248);
/* oklch */ color: oklch(67.6% 0.236 315.2);
Tailwind
colors: {
  custom: {
    50: '#df90fb',
    500: '#cc5bf8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5bf8;
$custom-light: #df90fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5bf8",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 283.185,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67647,
    "c": 0.23649,
    "h": 315.2
  },
  "luminance": 0.27097
}

Semantic roles & 50–950 ramp

primary
#CC5BF8
secondary
#CCF1BE
accent
#E60040
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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