#CC6BE8#CC6BE8

#CC6BE8 is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.7% C 0.198 H 318.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#CC6BE8
RGBrgb(204, 107, 232)
HSLhsl(287, 73%, 66%)
HSVhsv(287, 54%, 91%)
CMYKcmyk(12.1%, 53.9%, 0%, 9%)
CIE-LABlab(60.94, 57.26, -47.52)
CIE-LCHlch(60.94, 74.40, 320.31°)
OKLaboklab(68.74% 0.1479 -0.1322)
OKLCHoklch(68.74% 0.198 318.2)
XYZxyz(44.7230, 29.1806, 79.6049)
Luminance0.2918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6BE8 #87E86B
analogous
#8E6BE8 #CC6BE8 #E86BC6
triadic
#CC6BE8 #E8CC6B #6BE8CC
tetradic
#CC6BE8 #E88E6B #87E86B #6BC6E8
square
#CC6BE8 #E88E6B #87E86B #6BC6E8
split-complementary
#CC6BE8 #C6E86B #6BE88E
monochromatic
#981DBB #BA36E0 #CC6BE8 #DEA0F0 #F1D5F8

Accessibility & contrast

On white

3.07
#CC6BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#CC6BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6BE8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6BE8#FFFFFF#000000##000000
##CC6BE81.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#518DEC
Deuteranopia (green-blind)
#7196E5
Tritanopia (blue-blind)
#CC7EA0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc6be8;
/* rgb */ color: rgb(204, 107, 232);
/* oklch */ color: oklch(68.7% 0.198 318.2);
Tailwind
colors: {
  custom: {
    50: '#de99f0',
    500: '#cc6be8',
    950: '#000000',
  },
}
SCSS
$custom: #cc6be8;
$custom-light: #de99f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6be8",
  "rgb": {
    "r": 204,
    "g": 107,
    "b": 232
  },
  "hsl": {
    "h": 286.56,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68736,
    "c": 0.19837,
    "h": 318.2
  },
  "luminance": 0.29179
}

Semantic roles & 50–950 ramp

primary
#CC6BE8
secondary
#CCECC3
accent
#D5103C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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