#CC5AFF#CC5AFF

#CC5AFF is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 68.0% C 0.244 H 313.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#CC5AFF
RGBrgb(204, 90, 255)
HSLhsl(281, 100%, 68%)
HSVhsv(281, 65%, 100%)
CMYKcmyk(20%, 64.7%, 0%, 0%)
CIE-LABlab(59.32, 69.64, -62.86)
CIE-LCHlch(59.32, 93.81, 317.93°)
OKLaboklab(67.96% 0.1685 -0.1769)
OKLCHoklch(67.96% 0.244 313.6)
XYZxyz(46.6049, 27.3711, 97.4165)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AFF #8DFF5A
analogous
#7A5AFF #CC5AFF #FF5ADF
triadic
#CC5AFF #FFCC5A #5AFFCC
tetradic
#CC5AFF #FF7A5A #8DFF5A #5ADFFF
square
#CC5AFF #FF7A5A #8DFF5A #5ADFFF
split-complementary
#CC5AFF #DFFF5A #5AFF7A
monochromatic
#9A00DF #B91DFF #CC5AFF #DF97FF #F2D4FF

Accessibility & contrast

On white

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

On black

6.47
#CC5AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AFF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AFF#FFFFFF#000000##000000
##CC5AFF1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#5192FB
Tritanopia (blue-blind)
#C77AA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5aff;
/* rgb */ color: rgb(204, 90, 255);
/* oklch */ color: oklch(68.0% 0.244 313.6);
Tailwind
colors: {
  custom: {
    50: '#e090ff',
    500: '#cc5aff',
    950: '#000000',
  },
}
SCSS
$custom: #cc5aff;
$custom-light: #e090ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5aff",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 281.455,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67958,
    "c": 0.24434,
    "h": 313.6
  },
  "luminance": 0.2737
}

Semantic roles & 50–950 ramp

primary
#CC5AFF
secondary
#D1F4C1
accent
#E60047
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CC5AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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