#CC6EFF#CC6EFF

#CC6EFF is a light, highly saturated violet. Relative luminance 0.312; OKLCH L 70.4% C 0.217 H 312.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CC6EFF
RGBrgb(204, 110, 255)
HSLhsl(279, 100%, 72%)
HSVhsv(279, 57%, 100%)
CMYKcmyk(20%, 56.9%, 0%, 0%)
CIE-LABlab(62.68, 60.46, -57.47)
CIE-LCHlch(62.68, 83.42, 316.45°)
OKLaboklab(70.4% 0.1454 -0.1612)
OKLCHoklch(70.4% 0.217 312)
XYZxyz(48.5246, 31.2104, 98.0564)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EFF #A1FF6E
analogous
#846EFF #CC6EFF #FF6EE9
triadic
#CC6EFF #FFCC6E #6EFFCC
tetradic
#CC6EFF #FF846E #A1FF6E #6EE9FF
square
#CC6EFF #FF846E #A1FF6E #6EE9FF
split-complementary
#CC6EFF #E9FF6E #6EFF84
monochromatic
#9D00F3 #B631FF #CC6EFF #E2ABFF #F4E0FF

Accessibility & contrast

On white

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

On black

7.24
#CC6EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6EFF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6EFF#FFFFFF#000000##000000
##CC6EFF1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4093FF
Deuteranopia (green-blind)
#649AFB
Tritanopia (blue-blind)
#C688AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc6eff;
/* rgb */ color: rgb(204, 110, 255);
/* oklch */ color: oklch(70.4% 0.217 312.0);
Tailwind
colors: {
  custom: {
    50: '#df9bff',
    500: '#cc6eff',
    950: '#000000',
  },
}
SCSS
$custom: #cc6eff;
$custom-light: #df9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6eff",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 255
  },
  "hsl": {
    "h": 278.897,
    "s": 100,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70402,
    "c": 0.21711,
    "h": 312
  },
  "luminance": 0.31209
}

Semantic roles & 50–950 ramp

primary
#CC6EFF
secondary
#DFF7D2
accent
#E60051
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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