#CC5EF7#CC5EF7

#CC5EF7 is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 67.9% C 0.232 H 315.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#CC5EF7
RGBrgb(204, 94, 247)
HSLhsl(283, 91%, 67%)
HSVhsv(283, 62%, 97%)
CMYKcmyk(17.4%, 61.9%, 0%, 3.1%)
CIE-LABlab(59.49, 66.30, -58.16)
CIE-LCHlch(59.49, 88.19, 318.74°)
OKLaboklab(67.94% 0.1643 -0.1632)
OKLCHoklch(67.94% 0.232 315.2)
XYZxyz(45.6904, 27.5597, 90.8904)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EF7 #89F75E
analogous
#805EF7 #CC5EF7 #F75ED6
triadic
#CC5EF7 #F7CC5E #5EF7CC
tetradic
#CC5EF7 #F7805E #89F75E #5ED6F7
square
#CC5EF7 #F7805E #89F75E #5ED6F7
split-complementary
#CC5EF7 #D6F75E #5EF780
monochromatic
#990AD0 #BA24F4 #CC5EF7 #DE98FA #F1D3FD

Accessibility & contrast

On white

3.23
#CC5EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#CC5EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EF7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EF7#FFFFFF#000000##000000
##CC5EF71.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2689FC
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#C97AA2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5ef7;
/* rgb */ color: rgb(204, 94, 247);
/* oklch */ color: oklch(67.9% 0.232 315.2);
Tailwind
colors: {
  custom: {
    50: '#df92fa',
    500: '#cc5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ef7;
$custom-light: #df92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ef7",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 283.137,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67935,
    "c": 0.23158,
    "h": 315.2
  },
  "luminance": 0.27558
}

Semantic roles & 50–950 ramp

primary
#CC5EF7
secondary
#CEF1C0
accent
#E60041
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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