#CC6EFE#CC6EFE

#CC6EFE is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.3% C 0.216 H 312.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CC6EFE
RGBrgb(204, 110, 254)
HSLhsl(279, 99%, 71%)
HSVhsv(279, 57%, 100%)
CMYKcmyk(19.7%, 56.7%, 0%, 0.4%)
CIE-LABlab(62.63, 60.25, -57.01)
CIE-LCHlch(62.63, 82.95, 316.58°)
OKLaboklab(70.35% 0.1454 -0.1599)
OKLCHoklch(70.35% 0.216 312.3)
XYZxyz(48.3640, 31.1462, 97.2108)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EFE #A0FE6E
analogous
#846EFE #CC6EFE #FE6EE8
triadic
#CC6EFE #FECC6E #6EFECC
tetradic
#CC6EFE #FE846E #A0FE6E #6EE8FE
square
#CC6EFE #FE846E #A0FE6E #6EE8FE
split-complementary
#CC6EFE #E8FE6E #6EFE84
monochromatic
#9D02F0 #B731FE #CC6EFE #E1ABFE #F4E1FF

Accessibility & contrast

On white

2.90
#CC6EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CC6EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6EFE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6EFE#FFFFFF#000000##000000
##CC6EFE1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4193FF
Deuteranopia (green-blind)
#659AFA
Tritanopia (blue-blind)
#C787AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc6efe;
/* rgb */ color: rgb(204, 110, 254);
/* oklch */ color: oklch(70.3% 0.216 312.3);
Tailwind
colors: {
  custom: {
    50: '#df9bff',
    500: '#cc6efe',
    950: '#000000',
  },
}
SCSS
$custom: #cc6efe;
$custom-light: #df9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6efe",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 279.167,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70345,
    "c": 0.21609,
    "h": 312.3
  },
  "luminance": 0.31145
}

Semantic roles & 50–950 ramp

primary
#CC6EFE
secondary
#DEF7D1
accent
#E60050
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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