#CC6FEB#CC6FEB

#CC6FEB is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.4% C 0.195 H 317.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CC6FEB
RGBrgb(204, 111, 235)
HSLhsl(285, 76%, 68%)
HSVhsv(285, 53%, 92%)
CMYKcmyk(13.2%, 52.8%, 0%, 7.8%)
CIE-LABlab(61.83, 55.88, -47.78)
CIE-LCHlch(61.83, 73.52, 319.47°)
OKLaboklab(69.44% 0.1429 -0.133)
OKLCHoklch(69.44% 0.195 317.1)
XYZxyz(45.5795, 30.2060, 82.0105)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FEB #8EEB6F
analogous
#8E6FEB #CC6FEB #EB6FCC
triadic
#CC6FEB #EBCC6F #6FEBCC
tetradic
#CC6FEB #EB8E6F #8EEB6F #6FCCEB
square
#CC6FEB #EB8E6F #8EEB6F #6FCCEB
split-complementary
#CC6FEB #CCEB6F #6FEB8E
monochromatic
#9A1BC4 #B939E4 #CC6FEB #DFA5F2 #F2DAFA

Accessibility & contrast

On white

2.98
#CC6FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CC6FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FEB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FEB#FFFFFF#000000##000000
##CC6FEB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEF
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#CB82A3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6feb;
/* rgb */ color: rgb(204, 111, 235);
/* oklch */ color: oklch(69.4% 0.195 317.1);
Tailwind
colors: {
  custom: {
    50: '#de9cf2',
    500: '#cc6feb',
    950: '#000000',
  },
}
SCSS
$custom: #cc6feb;
$custom-light: #de9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6feb",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 285,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6944,
    "c": 0.19524,
    "h": 317.1
  },
  "luminance": 0.30204
}

Semantic roles & 50–950 ramp

primary
#CC6FEB
secondary
#D1EEC8
accent
#D80E40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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