#CC6FF8#CC6FF8

#CC6FF8 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.1% C 0.208 H 313.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CC6FF8
RGBrgb(204, 111, 248)
HSLhsl(281, 91%, 70%)
HSVhsv(281, 55%, 97%)
CMYKcmyk(17.7%, 55.2%, 0%, 2.7%)
CIE-LABlab(62.49, 58.52, -53.92)
CIE-LCHlch(62.49, 79.58, 317.34°)
OKLaboklab(70.14% 0.1439 -0.1509)
OKLCHoklch(70.14% 0.208 313.6)
XYZxyz(47.5267, 30.9849, 92.2658)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FF8 #9BF86F
analogous
#876FF8 #CC6FF8 #F86FDF
triadic
#CC6FF8 #F8CC6F #6FF8CC
tetradic
#CC6FF8 #F8876F #9BF86F #6FDFF8
square
#CC6FF8 #F8876F #9BF86F #6FDFF8
split-complementary
#CC6FF8 #DFF86F #6FF887
monochromatic
#9D0BE2 #B735F5 #CC6FF8 #E1A9FB #F5E2FE

Accessibility & contrast

On white

2.92
#CC6FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CC6FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FF8
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FF8#FFFFFF#000000##000000
##CC6FF81.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FC
Deuteranopia (green-blind)
#6A99F5
Tritanopia (blue-blind)
#C886A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc6ff8;
/* rgb */ color: rgb(204, 111, 248);
/* oklch */ color: oklch(70.1% 0.208 313.6);
Tailwind
colors: {
  custom: {
    50: '#de9cfb',
    500: '#cc6ff8',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ff8;
$custom-light: #de9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ff8",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 280.73,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70142,
    "c": 0.20847,
    "h": 313.6
  },
  "luminance": 0.30984
}

Semantic roles & 50–950 ramp

primary
#CC6FF8
secondary
#DBF4CF
accent
#E6004A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CC6FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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