#CC5BF3#CC5BF3

#CC5BF3 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.4% C 0.232 H 316.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CC5BF3
RGBrgb(204, 91, 243)
HSLhsl(285, 86%, 65%)
HSVhsv(285, 63%, 95%)
CMYKcmyk(16%, 62.6%, 0%, 4.7%)
CIE-LABlab(58.78, 66.84, -57.07)
CIE-LCHlch(58.78, 87.89, 319.51°)
OKLaboklab(67.35% 0.1678 -0.16)
OKLCHoklch(67.35% 0.232 316.4)
XYZxyz(44.8181, 26.7923, 87.5872)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BF3 #82F35B
analogous
#805BF3 #CC5BF3 #F35BCE
triadic
#CC5BF3 #F3CC5B #5BF3CC
tetradic
#CC5BF3 #F3805B #82F35B #5BCEF3
square
#CC5BF3 #F3805B #82F35B #5BCEF3
split-complementary
#CC5BF3 #CEF35B #5BF380
monochromatic
#960EC5 #BA22EF #CC5BF3 #DE94F7 #EFCDFB

Accessibility & contrast

On white

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

On black

6.36
#CC5BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BF3
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BF3#FFFFFF#000000##000000
##CC5BF31.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2586F8
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#CA769F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5bf3;
/* rgb */ color: rgb(204, 91, 243);
/* oklch */ color: oklch(67.4% 0.232 316.4);
Tailwind
colors: {
  custom: {
    50: '#df90f8',
    500: '#cc5bf3',
    950: '#000000',
  },
}
SCSS
$custom: #cc5bf3;
$custom-light: #df90f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5bf3",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 243
  },
  "hsl": {
    "h": 284.605,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67351,
    "c": 0.23183,
    "h": 316.4
  },
  "luminance": 0.26791
}

Semantic roles & 50–950 ramp

primary
#CC5BF3
secondary
#C9EEBB
accent
#E3033C
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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