#CC5AF0#CC5AF0

#CC5AF0 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.1% C 0.230 H 317.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#CC5AF0
RGBrgb(204, 90, 240)
HSLhsl(286, 83%, 65%)
HSVhsv(286, 63%, 94%)
CMYKcmyk(15%, 62.5%, 0%, 5.9%)
CIE-LABlab(58.45, 66.69, -55.92)
CIE-LCHlch(58.45, 87.04, 320.02°)
OKLaboklab(67.06% 0.169 -0.1566)
OKLCHoklch(67.06% 0.23 317.2)
XYZxyz(44.2839, 26.4427, 85.1924)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AF0 #7EF05A
analogous
#815AF0 #CC5AF0 #F05AC9
triadic
#CC5AF0 #F0CC5A #5AF0CC
tetradic
#CC5AF0 #F0815A #7EF05A #5AC9F0
square
#CC5AF0 #F0815A #7EF05A #5AC9F0
split-complementary
#CC5AF0 #C9F05A #5AF081
monochromatic
#9511BE #BB22EB #CC5AF0 #DD92F5 #EFCAFA

Accessibility & contrast

On white

3.34
#CC5AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#CC5AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AF0
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AF0#FFFFFF#000000##000000
##CC5AF01.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2885F5
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#CB759D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5af0;
/* rgb */ color: rgb(204, 90, 240);
/* oklch */ color: oklch(67.1% 0.230 317.2);
Tailwind
colors: {
  custom: {
    50: '#df8ff6',
    500: '#cc5af0',
    950: '#000000',
  },
}
SCSS
$custom: #cc5af0;
$custom-light: #df8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5af0",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 240
  },
  "hsl": {
    "h": 285.6,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67061,
    "c": 0.23038,
    "h": 317.2
  },
  "luminance": 0.26441
}

Semantic roles & 50–950 ramp

primary
#CC5AF0
secondary
#C6EDB9
accent
#E0063A
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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