#CC6BE7#CC6BE7

#CC6BE7 is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.7% C 0.197 H 318.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#CC6BE7
RGBrgb(204, 107, 231)
HSLhsl(287, 72%, 66%)
HSVhsv(287, 54%, 91%)
CMYKcmyk(11.7%, 53.7%, 0%, 9.4%)
CIE-LABlab(60.89, 57.06, -47.04)
CIE-LCHlch(60.89, 73.95, 320.50°)
OKLaboklab(68.68% 0.1478 -0.1308)
OKLCHoklch(68.68% 0.197 318.5)
XYZxyz(44.5814, 29.1240, 78.8589)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6BE7 #86E76B
analogous
#8E6BE7 #CC6BE7 #E76BC4
triadic
#CC6BE7 #E7CC6B #6BE7CC
tetradic
#CC6BE7 #E78E6B #86E76B #6BC4E7
square
#CC6BE7 #E78E6B #86E76B #6BC4E7
split-complementary
#CC6BE7 #C4E76B #6BE78E
monochromatic
#981EBA #BA36DE #CC6BE7 #DEA0F0 #F0D4F8

Accessibility & contrast

On white

3.08
#CC6BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#CC6BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6BE7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6BE7#FFFFFF#000000##000000
##CC6BE71.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#518CEB
Deuteranopia (green-blind)
#7196E4
Tritanopia (blue-blind)
#CC7E9F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc6be7;
/* rgb */ color: rgb(204, 107, 231);
/* oklch */ color: oklch(68.7% 0.197 318.5);
Tailwind
colors: {
  custom: {
    50: '#de99ef',
    500: '#cc6be7',
    950: '#000000',
  },
}
SCSS
$custom: #cc6be7;
$custom-light: #de99ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6be7",
  "rgb": {
    "r": 204,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 286.935,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68683,
    "c": 0.19739,
    "h": 318.5
  },
  "luminance": 0.29122
}

Semantic roles & 50–950 ramp

primary
#CC6BE7
secondary
#CBEBC3
accent
#D4113C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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