#CC5EF3#CC5EF3

#CC5EF3 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.7% C 0.228 H 316.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#CC5EF3
RGBrgb(204, 94, 243)
HSLhsl(284, 86%, 66%)
HSVhsv(284, 61%, 95%)
CMYKcmyk(16%, 61.3%, 0%, 4.7%)
CIE-LABlab(59.27, 65.51, -56.30)
CIE-LCHlch(59.27, 86.38, 319.32°)
OKLaboklab(67.7% 0.1643 -0.1577)
OKLCHoklch(67.7% 0.228 316.2)
XYZxyz(45.0797, 27.3155, 87.6744)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EF3 #85F35E
analogous
#815EF3 #CC5EF3 #F35ED0
triadic
#CC5EF3 #F3CC5E #5EF3CC
tetradic
#CC5EF3 #F3815E #85F35E #5ED0F3
square
#CC5EF3 #F3815E #85F35E #5ED0F3
split-complementary
#CC5EF3 #D0F35E #5EF381
monochromatic
#970FC8 #BA25EF #CC5EF3 #DE97F7 #F0D0FB

Accessibility & contrast

On white

3.25
#CC5EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#CC5EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EF3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EF3#FFFFFF#000000##000000
##CC5EF31.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D88F8
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#CA78A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5ef3;
/* rgb */ color: rgb(204, 94, 243);
/* oklch */ color: oklch(67.7% 0.228 316.2);
Tailwind
colors: {
  custom: {
    50: '#df92f8',
    500: '#cc5ef3',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ef3;
$custom-light: #df92f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ef3",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 284.295,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67701,
    "c": 0.22779,
    "h": 316.2
  },
  "luminance": 0.27314
}

Semantic roles & 50–950 ramp

primary
#CC5EF3
secondary
#CBEFBE
accent
#E3033D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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