#CC5FE3#CC5FE3

#CC5FE3 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 66.9% C 0.211 H 320.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CC5FE3
RGBrgb(204, 95, 227)
HSLhsl(290, 70%, 63%)
HSVhsv(290, 58%, 89%)
CMYKcmyk(10.1%, 58.1%, 0%, 11%)
CIE-LABlab(58.57, 61.97, -48.47)
CIE-LCHlch(58.57, 78.68, 321.97°)
OKLaboklab(66.92% 0.1627 -0.1349)
OKLCHoklch(66.92% 0.211 320.3)
XYZxyz(42.8575, 26.5698, 75.5291)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FE3 #76E35F
analogous
#8A5FE3 #CC5FE3 #E35FB8
triadic
#CC5FE3 #E3CC5F #5FE3CC
tetradic
#CC5FE3 #E38A5F #76E35F #5FB8E3
square
#CC5FE3 #E38A5F #76E35F #5FB8E3
split-complementary
#CC5FE3 #B8E35F #5FE38A
monochromatic
#911EAA #BB2BDA #CC5FE3 #DD93EC #EDC7F5

Accessibility & contrast

On white

3.33
#CC5FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CC5FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FE3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FE3#FFFFFF#000000##000000
##CC5FE31.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4285E7
Deuteranopia (green-blind)
#6A91E0
Tritanopia (blue-blind)
#CD7398
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5fe3;
/* rgb */ color: rgb(204, 95, 227);
/* oklch */ color: oklch(66.9% 0.211 320.3);
Tailwind
colors: {
  custom: {
    50: '#de92ec',
    500: '#cc5fe3',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fe3;
$custom-light: #de92ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fe3",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 289.545,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66921,
    "c": 0.21138,
    "h": 320.3
  },
  "luminance": 0.26568
}

Semantic roles & 50–950 ramp

primary
#CC5FE3
secondary
#BFE7B7
accent
#D21335
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC5FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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