#CC6FEA#CC6FEA

#CC6FEA is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.4% C 0.194 H 317.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CC6FEA
RGBrgb(204, 111, 234)
HSLhsl(285, 75%, 68%)
HSVhsv(285, 53%, 92%)
CMYKcmyk(12.8%, 52.6%, 0%, 8.2%)
CIE-LABlab(61.78, 55.68, -47.30)
CIE-LCHlch(61.78, 73.06, 319.65°)
OKLaboklab(69.39% 0.1428 -0.1316)
OKLCHoklch(69.39% 0.194 317.3)
XYZxyz(45.4354, 30.1483, 81.2518)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FEA #8DEA6F
analogous
#8F6FEA #CC6FEA #EA6FCA
triadic
#CC6FEA #EACC6F #6FEACC
tetradic
#CC6FEA #EA8F6F #8DEA6F #6FCAEA
square
#CC6FEA #EA8F6F #8DEA6F #6FCAEA
split-complementary
#CC6FEA #CAEA6F #6FEA8F
monochromatic
#9A1CC2 #B93AE2 #CC6FEA #DFA4F2 #F2DAFA

Accessibility & contrast

On white

2.99
#CC6FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CC6FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FEA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FEA#FFFFFF#000000##000000
##CC6FEA1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#7398E7
Tritanopia (blue-blind)
#CB82A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6fea;
/* rgb */ color: rgb(204, 111, 234);
/* oklch */ color: oklch(69.4% 0.194 317.3);
Tailwind
colors: {
  custom: {
    50: '#de9cf1',
    500: '#cc6fea',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fea;
$custom-light: #de9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fea",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 285.366,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69387,
    "c": 0.19423,
    "h": 317.3
  },
  "luminance": 0.30147
}

Semantic roles & 50–950 ramp

primary
#CC6FEA
secondary
#D1EDC7
accent
#D70F40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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