#CC6BED#CC6BED

#CC6BED is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.0% C 0.203 H 316.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#CC6BED
RGBrgb(204, 107, 237)
HSLhsl(285, 78%, 67%)
HSVhsv(285, 55%, 93%)
CMYKcmyk(13.9%, 54.9%, 0%, 7.1%)
CIE-LABlab(61.19, 58.24, -49.90)
CIE-LCHlch(61.19, 76.70, 319.41°)
OKLaboklab(69% 0.1483 -0.1391)
OKLCHoklch(69% 0.203 316.8)
XYZxyz(45.4434, 29.4688, 83.3986)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6BED #8CED6B
analogous
#8B6BED #CC6BED #ED6BCD
triadic
#CC6BED #EDCC6B #6BEDCC
tetradic
#CC6BED #ED8B6B #8CED6B #6BCDED
square
#CC6BED #ED8B6B #8CED6B #6BCDED
split-complementary
#CC6BED #CDED6B #6BED8B
monochromatic
#9A18C6 #B934E6 #CC6BED #DFA2F4 #F2D8FA

Accessibility & contrast

On white

3.05
#CC6BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#CC6BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6BED
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6BED#FFFFFF#000000##000000
##CC6BED1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF1
Deuteranopia (green-blind)
#6E97EA
Tritanopia (blue-blind)
#CB80A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc6bed;
/* rgb */ color: rgb(204, 107, 237);
/* oklch */ color: oklch(69.0% 0.203 316.8);
Tailwind
colors: {
  custom: {
    50: '#de99f3',
    500: '#cc6bed',
    950: '#000000',
  },
}
SCSS
$custom: #cc6bed;
$custom-light: #de99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6bed",
  "rgb": {
    "r": 204,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 284.769,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69003,
    "c": 0.20332,
    "h": 316.8
  },
  "luminance": 0.29467
}

Semantic roles & 50–950 ramp

primary
#CC6BED
secondary
#D0EEC6
accent
#DB0B40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6BED

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

Preview Lab → · Contrast checker → · Palette generator →

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