#CC5BF6#CC5BF6

#CC5BF6 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.5% C 0.235 H 315.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#CC5BF6
RGBrgb(204, 91, 246)
HSLhsl(284, 90%, 66%)
HSVhsv(284, 63%, 96%)
CMYKcmyk(17.1%, 63%, 0%, 3.5%)
CIE-LABlab(58.95, 67.42, -58.47)
CIE-LCHlch(58.95, 89.24, 319.07°)
OKLaboklab(67.53% 0.1677 -0.164)
OKLCHoklch(67.53% 0.235 315.6)
XYZxyz(45.2749, 26.9750, 89.9927)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BF6 #85F65B
analogous
#7E5BF6 #CC5BF6 #F65BD2
triadic
#CC5BF6 #F6CC5B #5BF6CC
tetradic
#CC5BF6 #F67E5B #85F65B #5BD2F6
square
#CC5BF6 #F67E5B #85F65B #5BD2F6
split-complementary
#CC5BF6 #D2F65B #5BF67E
monochromatic
#970BCB #BA21F3 #CC5BF6 #DE95F9 #F0CFFC

Accessibility & contrast

On white

3.28
#CC5BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#CC5BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BF6
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BF6#FFFFFF#000000##000000
##CC5BF61.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E87FB
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#C977A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5bf6;
/* rgb */ color: rgb(204, 91, 246);
/* oklch */ color: oklch(67.5% 0.235 315.6);
Tailwind
colors: {
  custom: {
    50: '#df90fa',
    500: '#cc5bf6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5bf6;
$custom-light: #df90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5bf6",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 283.742,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67528,
    "c": 0.23463,
    "h": 315.6
  },
  "luminance": 0.26973
}

Semantic roles & 50–950 ramp

primary
#CC5BF6
secondary
#CBF0BD
accent
#E6003E
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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