#CC5FF6#CC5FF6

#CC5FF6 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.0% C 0.229 H 315.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#CC5FF6
RGBrgb(204, 95, 246)
HSLhsl(283, 89%, 67%)
HSVhsv(283, 61%, 96%)
CMYKcmyk(17.1%, 61.4%, 0%, 3.5%)
CIE-LABlab(59.60, 65.65, -57.44)
CIE-LCHlch(59.60, 87.23, 318.82°)
OKLaboklab(67.99% 0.1632 -0.1611)
OKLCHoklch(67.99% 0.229 315.4)
XYZxyz(45.6260, 27.6772, 90.1097)
Luminance0.2768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FF6 #89F65F
analogous
#815FF6 #CC5FF6 #F65FD5
triadic
#CC5FF6 #F6CC5F #5FF6CC
tetradic
#CC5FF6 #F6815F #89F65F #5FD5F6
square
#CC5FF6 #F6815F #89F65F #5FD5F6
split-complementary
#CC5FF6 #D5F65F #5FF681
monochromatic
#990CCF #BA25F3 #CC5FF6 #DE99F9 #F1D3FD

Accessibility & contrast

On white

3.21
#CC5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#CC5FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FF6
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FF6#FFFFFF#000000##000000
##CC5FF61.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A89FB
Deuteranopia (green-blind)
#5D93F2
Tritanopia (blue-blind)
#C97AA2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5ff6;
/* rgb */ color: rgb(204, 95, 246);
/* oklch */ color: oklch(68.0% 0.229 315.4);
Tailwind
colors: {
  custom: {
    50: '#df92fa',
    500: '#cc5ff6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ff6;
$custom-light: #df92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ff6",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 283.311,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67994,
    "c": 0.22928,
    "h": 315.4
  },
  "luminance": 0.27676
}

Semantic roles & 50–950 ramp

primary
#CC5FF6
secondary
#CEF1C0
accent
#E60040
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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