#CC5EF5#CC5EF5

#CC5EF5 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.8% C 0.230 H 315.7°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#CC5EF5
RGBrgb(204, 94, 245)
HSLhsl(284, 88%, 66%)
HSVhsv(284, 62%, 96%)
CMYKcmyk(16.7%, 61.6%, 0%, 3.9%)
CIE-LABlab(59.38, 65.90, -57.23)
CIE-LCHlch(59.38, 87.28, 319.03°)
OKLaboklab(67.82% 0.1643 -0.1605)
OKLCHoklch(67.82% 0.23 315.7)
XYZxyz(45.3834, 27.4369, 89.2737)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EF5 #87F55E
analogous
#815EF5 #CC5EF5 #F55ED2
triadic
#CC5EF5 #F5CC5E #5EF5CC
tetradic
#CC5EF5 #F5815E #87F55E #5ED2F5
square
#CC5EF5 #F5815E #87F55E #5ED2F5
split-complementary
#CC5EF5 #D2F55E #5EF581
monochromatic
#980DCC #BA24F1 #CC5EF5 #DE98F9 #F1D1FC

Accessibility & contrast

On white

3.24
#CC5EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#CC5EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EF5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EF5#FFFFFF#000000##000000
##CC5EF51.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A88FA
Deuteranopia (green-blind)
#5D92F1
Tritanopia (blue-blind)
#C979A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5ef5;
/* rgb */ color: rgb(204, 94, 245);
/* oklch */ color: oklch(67.8% 0.230 315.7);
Tailwind
colors: {
  custom: {
    50: '#df92f9',
    500: '#cc5ef5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ef5;
$custom-light: #df92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ef5",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 283.709,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67817,
    "c": 0.22968,
    "h": 315.7
  },
  "luminance": 0.27435
}

Semantic roles & 50–950 ramp

primary
#CC5EF5
secondary
#CCF0BF
accent
#E5013F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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