#CC5EF1#CC5EF1

#CC5EF1 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.6% C 0.226 H 316.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#CC5EF1
RGBrgb(204, 94, 241)
HSLhsl(285, 84%, 66%)
HSVhsv(285, 61%, 95%)
CMYKcmyk(15.4%, 61%, 0%, 5.5%)
CIE-LABlab(59.15, 65.12, -55.36)
CIE-LCHlch(59.15, 85.47, 319.63°)
OKLaboklab(67.58% 0.1643 -0.155)
OKLCHoklch(67.58% 0.226 316.7)
XYZxyz(44.7794, 27.1953, 86.0925)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EF1 #83F15E
analogous
#825EF1 #CC5EF1 #F15ECC
triadic
#CC5EF1 #F1CC5E #5EF1CC
tetradic
#CC5EF1 #F1825E #83F15E #5ECCF1
square
#CC5EF1 #F1825E #83F15E #5ECCF1
split-complementary
#CC5EF1 #CCF15E #5EF182
monochromatic
#9711C4 #BA26EC #CC5EF1 #DE96F6 #F0CFFB

Accessibility & contrast

On white

3.26
#CC5EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#CC5EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EF1
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EF1#FFFFFF#000000##000000
##CC5EF11.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F6
Deuteranopia (green-blind)
#6092ED
Tritanopia (blue-blind)
#CA789F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5ef1;
/* rgb */ color: rgb(204, 94, 241);
/* oklch */ color: oklch(67.6% 0.226 316.7);
Tailwind
colors: {
  custom: {
    50: '#df92f6',
    500: '#cc5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ef1;
$custom-light: #df92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ef1",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 284.898,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67585,
    "c": 0.2259,
    "h": 316.7
  },
  "luminance": 0.27194
}

Semantic roles & 50–950 ramp

primary
#CC5EF1
secondary
#C9EEBD
accent
#E0053C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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