#CC6CFB#CC6CFB

#CC6CFB is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 69.9% C 0.216 H 313.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CC6CFB
RGBrgb(204, 108, 251)
HSLhsl(280, 95%, 70%)
HSVhsv(280, 57%, 98%)
CMYKcmyk(18.7%, 57%, 0%, 1.6%)
CIE-LABlab(62.11, 60.60, -56.19)
CIE-LCHlch(62.11, 82.64, 317.16°)
OKLaboklab(69.91% 0.1477 -0.1575)
OKLCHoklch(69.91% 0.216 313.2)
XYZxyz(47.6740, 30.5288, 94.6294)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CFB #9BFB6C
analogous
#856CFB #CC6CFB #FB6CE2
triadic
#CC6CFB #FBCC6C #6CFBCC
tetradic
#CC6CFB #FB856C #9BFB6C #6CE2FB
square
#CC6CFB #FB856C #9BFB6C #6CE2FB
split-complementary
#CC6CFB #E2FB6C #6CFB85
monochromatic
#9D06E6 #B730F9 #CC6CFB #E1A8FD #F5E1FE

Accessibility & contrast

On white

2.96
#CC6CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CC6CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6CFB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6CFB#FFFFFF#000000##000000
##CC6CFB1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#C785AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6cfb;
/* rgb */ color: rgb(204, 108, 251);
/* oklch */ color: oklch(69.9% 0.216 313.2);
Tailwind
colors: {
  custom: {
    50: '#df9afd',
    500: '#cc6cfb',
    950: '#000000',
  },
}
SCSS
$custom: #cc6cfb;
$custom-light: #df9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6cfb",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 280.28,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69911,
    "c": 0.21593,
    "h": 313.2
  },
  "luminance": 0.30528
}

Semantic roles & 50–950 ramp

primary
#CC6CFB
secondary
#DBF5CE
accent
#E6004B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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