#CC5EF9#CC5EF9

#CC5EF9 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.1% C 0.233 H 314.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#CC5EF9
RGBrgb(204, 94, 249)
HSLhsl(283, 93%, 67%)
HSVhsv(283, 62%, 98%)
CMYKcmyk(18.1%, 62.2%, 0%, 2.4%)
CIE-LABlab(59.60, 66.69, -59.09)
CIE-LCHlch(59.60, 89.10, 318.46°)
OKLaboklab(68.05% 0.1643 -0.1659)
OKLCHoklch(68.05% 0.233 314.7)
XYZxyz(46.0006, 27.6838, 92.5245)
Luminance0.2768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EF9 #8BF95E
analogous
#7F5EF9 #CC5EF9 #F95ED8
triadic
#CC5EF9 #F9CC5E #5EF9CC
tetradic
#CC5EF9 #F97F5E #8BF95E #5ED8F9
square
#CC5EF9 #F97F5E #8BF95E #5ED8F9
split-complementary
#CC5EF9 #D8F95E #5EF97F
monochromatic
#9908D5 #B923F7 #CC5EF9 #DF99FB #F1D4FD

Accessibility & contrast

On white

3.21
#CC5EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#CC5EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EF9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EF9#FFFFFF#000000##000000
##CC5EF91.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2289FE
Deuteranopia (green-blind)
#5A92F5
Tritanopia (blue-blind)
#C87BA3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc5ef9;
/* rgb */ color: rgb(204, 94, 249);
/* oklch */ color: oklch(68.1% 0.233 314.7);
Tailwind
colors: {
  custom: {
    50: '#df92fc',
    500: '#cc5ef9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ef9;
$custom-light: #df92fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ef9",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 249
  },
  "hsl": {
    "h": 282.581,
    "s": 92.814,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68053,
    "c": 0.23348,
    "h": 314.7
  },
  "luminance": 0.27682
}

Semantic roles & 50–950 ramp

primary
#CC5EF9
secondary
#CFF2C1
accent
#E60043
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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