#CC6FF5#CC6FF5

#CC6FF5 is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.0% C 0.205 H 314.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CC6FF5
RGBrgb(204, 111, 245)
HSLhsl(282, 87%, 70%)
HSVhsv(282, 55%, 96%)
CMYKcmyk(16.7%, 54.7%, 0%, 3.9%)
CIE-LABlab(62.34, 57.90, -52.52)
CIE-LCHlch(62.34, 78.17, 317.79°)
OKLaboklab(69.98% 0.1437 -0.1468)
OKLCHoklch(69.98% 0.205 314.4)
XYZxyz(47.0650, 30.8002, 89.8343)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FF5 #98F56F
analogous
#896FF5 #CC6FF5 #F56FDB
triadic
#CC6FF5 #F5CC6F #6FF5CC
tetradic
#CC6FF5 #F5896F #98F56F #6FDBF5
square
#CC6FF5 #F5896F #98F56F #6FDBF5
split-complementary
#CC6FF5 #DBF56F #6FF589
monochromatic
#9C0FDA #B836F1 #CC6FF5 #E0A8F9 #F5E1FD

Accessibility & contrast

On white

2.93
#CC6FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CC6FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FF5
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FF5#FFFFFF#000000##000000
##CC6FF51.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#6C99F2
Tritanopia (blue-blind)
#C985A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc6ff5;
/* rgb */ color: rgb(204, 111, 245);
/* oklch */ color: oklch(70.0% 0.205 314.4);
Tailwind
colors: {
  custom: {
    50: '#de9cf9',
    500: '#cc6ff5',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ff5;
$custom-light: #de9cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ff5",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 281.642,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69977,
    "c": 0.2054,
    "h": 314.4
  },
  "luminance": 0.30799
}

Semantic roles & 50–950 ramp

primary
#CC6FF5
secondary
#D9F3CD
accent
#E40247
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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