#CC5CF0#CC5CF0

#CC5CF0 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.3% C 0.228 H 317.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CC5CF0
RGBrgb(204, 92, 240)
HSLhsl(285, 83%, 65%)
HSVhsv(285, 62%, 94%)
CMYKcmyk(15%, 61.7%, 0%, 5.9%)
CIE-LABlab(58.77, 65.81, -55.41)
CIE-LCHlch(58.77, 86.04, 319.90°)
OKLaboklab(67.29% 0.1667 -0.1551)
OKLCHoklch(67.29% 0.228 317.1)
XYZxyz(44.4549, 26.7846, 85.2494)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CF0 #80F05C
analogous
#825CF0 #CC5CF0 #F05CCA
triadic
#CC5CF0 #F0CC5C #5CF0CC
tetradic
#CC5CF0 #F0825C #80F05C #5CCAF0
square
#CC5CF0 #F0825C #80F05C #5CCAF0
split-complementary
#CC5CF0 #CAF05C #5CF082
monochromatic
#9612C0 #BA24EB #CC5CF0 #DE94F5 #EFCCFA

Accessibility & contrast

On white

3.30
#CC5CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#CC5CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CF0
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CF0#FFFFFF#000000##000000
##CC5CF01.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F5
Deuteranopia (green-blind)
#5F91EC
Tritanopia (blue-blind)
#CB769E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5cf0;
/* rgb */ color: rgb(204, 92, 240);
/* oklch */ color: oklch(67.3% 0.228 317.1);
Tailwind
colors: {
  custom: {
    50: '#df90f5',
    500: '#cc5cf0',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cf0;
$custom-light: #df90f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cf0",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 285.405,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67292,
    "c": 0.22769,
    "h": 317.1
  },
  "luminance": 0.26783
}

Semantic roles & 50–950 ramp

primary
#CC5CF0
secondary
#C7EDBB
accent
#E0063B
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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