#CC6EFC#CC6EFC

#CC6EFC is a light, highly saturated violet. Relative luminance 0.310; OKLCH L 70.2% C 0.214 H 312.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CC6EFC
RGBrgb(204, 110, 252)
HSLhsl(280, 96%, 71%)
HSVhsv(280, 56%, 99%)
CMYKcmyk(19%, 56.3%, 0%, 1.2%)
CIE-LABlab(62.52, 59.83, -56.08)
CIE-LCHlch(62.52, 82.01, 316.85°)
OKLaboklab(70.23% 0.1453 -0.1572)
OKLCHoklch(70.23% 0.214 312.7)
XYZxyz(48.0454, 31.0187, 95.5329)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EFC #9EFC6E
analogous
#856EFC #CC6EFC #FC6EE5
triadic
#CC6EFC #FCCC6E #6EFCCC
tetradic
#CC6EFC #FC856E #9EFC6E #6EE5FC
square
#CC6EFC #FC856E #9EFC6E #6EE5FC
split-complementary
#CC6EFC #E5FC6E #6EFC85
monochromatic
#9D05EB #B732FB #CC6EFC #E1AAFD #F4E1FE

Accessibility & contrast

On white

2.92
#CC6EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CC6EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6EFC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6EFC#FFFFFF#000000##000000
##CC6EFC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#C787AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc6efc;
/* rgb */ color: rgb(204, 110, 252);
/* oklch */ color: oklch(70.2% 0.214 312.7);
Tailwind
colors: {
  custom: {
    50: '#df9bfe',
    500: '#cc6efc',
    950: '#000000',
  },
}
SCSS
$custom: #cc6efc;
$custom-light: #df9bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6efc",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 252
  },
  "hsl": {
    "h": 279.718,
    "s": 95.946,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70232,
    "c": 0.21404,
    "h": 312.7
  },
  "luminance": 0.31018
}

Semantic roles & 50–950 ramp

primary
#CC6EFC
secondary
#DDF6D0
accent
#E6004E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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