#CC6EF8#CC6EF8

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

Color values

HEX#CC6EF8
RGBrgb(204, 110, 248)
HSLhsl(281, 91%, 70%)
HSVhsv(281, 56%, 97%)
CMYKcmyk(17.7%, 55.6%, 0%, 2.7%)
CIE-LABlab(62.31, 59.01, -54.22)
CIE-LCHlch(62.31, 80.13, 317.42°)
OKLaboklab(70.01% 0.1451 -0.1517)
OKLCHoklch(70.01% 0.21 313.7)
XYZxyz(47.4182, 30.7679, 92.2296)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EF8 #9AF86E
analogous
#876EF8 #CC6EF8 #F86EDF
triadic
#CC6EF8 #F8CC6E #6EF8CC
tetradic
#CC6EF8 #F8876E #9AF86E #6EDFF8
square
#CC6EF8 #F8876E #9AF86E #6EDFF8
split-complementary
#CC6EF8 #DFF86E #6EF887
monochromatic
#9D0BE1 #B734F5 #CC6EF8 #E1A8FB #F5E2FE

Accessibility & contrast

On white

2.94
#CC6EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CC6EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6EF8
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6EF8#FFFFFF#000000##000000
##CC6EF81.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#C885A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc6ef8;
/* rgb */ color: rgb(204, 110, 248);
/* oklch */ color: oklch(70.0% 0.210 313.7);
Tailwind
colors: {
  custom: {
    50: '#de9bfb',
    500: '#cc6ef8',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ef8;
$custom-light: #de9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ef8",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 280.87,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70008,
    "c": 0.20996,
    "h": 313.7
  },
  "luminance": 0.30767
}

Semantic roles & 50–950 ramp

primary
#CC6EF8
secondary
#DAF4CE
accent
#E60049
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CC6EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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