#CC6BE3#CC6BE3

#CC6BE3 is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.5% C 0.193 H 319.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#CC6BE3
RGBrgb(204, 107, 227)
HSLhsl(289, 68%, 65%)
HSVhsv(289, 53%, 89%)
CMYKcmyk(10.1%, 52.9%, 0%, 11%)
CIE-LABlab(60.69, 56.28, -45.12)
CIE-LCHlch(60.69, 72.13, 321.28°)
OKLaboklab(68.47% 0.1474 -0.1252)
OKLCHoklch(68.47% 0.193 319.7)
XYZxyz(44.0229, 28.9006, 75.9176)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6BE3 #82E36B
analogous
#906BE3 #CC6BE3 #E36BBE
triadic
#CC6BE3 #E3CC6B #6BE3CC
tetradic
#CC6BE3 #E3906B #82E36B #6BBEE3
square
#CC6BE3 #E3906B #82E36B #6BBEE3
split-complementary
#CC6BE3 #BEE36B #6BE390
monochromatic
#9622B2 #BA38D9 #CC6BE3 #DE9EED #EFD2F6

Accessibility & contrast

On white

3.10
#CC6BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#CC6BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6BE3
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6BE3#FFFFFF#000000##000000
##CC6BE31.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#548CE7
Deuteranopia (green-blind)
#7496E0
Tritanopia (blue-blind)
#CD7C9D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc6be3;
/* rgb */ color: rgb(204, 107, 227);
/* oklch */ color: oklch(68.5% 0.193 319.7);
Tailwind
colors: {
  custom: {
    50: '#de99ec',
    500: '#cc6be3',
    950: '#000000',
  },
}
SCSS
$custom: #cc6be3;
$custom-light: #de99ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6be3",
  "rgb": {
    "r": 204,
    "g": 107,
    "b": 227
  },
  "hsl": {
    "h": 288.5,
    "s": 68.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68474,
    "c": 0.19345,
    "h": 319.7
  },
  "luminance": 0.28899
}

Semantic roles & 50–950 ramp

primary
#CC6BE3
secondary
#C9E9C1
accent
#D01539
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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