#CC5BF2#CC5BF2

#CC5BF2 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.3% C 0.231 H 316.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CC5BF2
RGBrgb(204, 91, 242)
HSLhsl(285, 85%, 65%)
HSVhsv(285, 62%, 95%)
CMYKcmyk(15.7%, 62.4%, 0%, 5.1%)
CIE-LABlab(58.73, 66.64, -56.60)
CIE-LCHlch(58.73, 87.44, 319.66°)
OKLaboklab(67.29% 0.1678 -0.1586)
OKLCHoklch(67.29% 0.231 316.6)
XYZxyz(44.6675, 26.7320, 86.7941)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BF2 #81F25B
analogous
#815BF2 #CC5BF2 #F25BCC
triadic
#CC5BF2 #F2CC5B #5BF2CC
tetradic
#CC5BF2 #F2815B #81F25B #5BCCF2
square
#CC5BF2 #F2815B #81F25B #5BCCF2
split-complementary
#CC5BF2 #CCF25B #5BF281
monochromatic
#960FC3 #BA22EE #CC5BF2 #DE94F6 #EFCCFB

Accessibility & contrast

On white

3.31
#CC5BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CC5BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BF2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BF2#FFFFFF#000000##000000
##CC5BF21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F7
Deuteranopia (green-blind)
#5D91EE
Tritanopia (blue-blind)
#CA769F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5bf2;
/* rgb */ color: rgb(204, 91, 242);
/* oklch */ color: oklch(67.3% 0.231 316.6);
Tailwind
colors: {
  custom: {
    50: '#df90f7',
    500: '#cc5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5bf2;
$custom-light: #df90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5bf2",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 284.901,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67292,
    "c": 0.2309,
    "h": 316.6
  },
  "luminance": 0.2673
}

Semantic roles & 50–950 ramp

primary
#CC5BF2
secondary
#C8EEBB
accent
#E2043C
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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