#CC5EFB#CC5EFB

#CC5EFB is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.2% C 0.235 H 314.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#CC5EFB
RGBrgb(204, 94, 251)
HSLhsl(282, 95%, 68%)
HSVhsv(282, 63%, 98%)
CMYKcmyk(18.7%, 62.5%, 0%, 1.6%)
CIE-LABlab(59.72, 67.09, -60.01)
CIE-LCHlch(59.72, 90.02, 318.19°)
OKLaboklab(68.17% 0.1643 -0.1686)
OKLCHoklch(68.17% 0.235 314.3)
XYZxyz(46.3142, 27.8093, 94.1761)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EFB #8DFB5E
analogous
#7D5EFB #CC5EFB #FB5EDC
triadic
#CC5EFB #FBCC5E #5EFBCC
tetradic
#CC5EFB #FB7D5E #8DFB5E #5EDCFB
square
#CC5EFB #FB7D5E #8DFB5E #5EDCFB
split-complementary
#CC5EFB #DCFB5E #5EFB7D
monochromatic
#9A05D9 #B922FA #CC5EFB #DF9AFC #F2D5FE

Accessibility & contrast

On white

3.20
#CC5EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#CC5EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EFB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EFB#FFFFFF#000000##000000
##CC5EFB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8AFF
Deuteranopia (green-blind)
#5893F7
Tritanopia (blue-blind)
#C87BA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc5efb;
/* rgb */ color: rgb(204, 94, 251);
/* oklch */ color: oklch(68.2% 0.235 314.3);
Tailwind
colors: {
  custom: {
    50: '#df92fd',
    500: '#cc5efb',
    950: '#000000',
  },
}
SCSS
$custom: #cc5efb;
$custom-light: #df92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5efb",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 282.038,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68172,
    "c": 0.23537,
    "h": 314.3
  },
  "luminance": 0.27808
}

Semantic roles & 50–950 ramp

primary
#CC5EFB
secondary
#D1F3C2
accent
#E60045
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CC5EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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