#CC6EFD#CC6EFD

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

Color values

HEX#CC6EFD
RGBrgb(204, 110, 253)
HSLhsl(279, 97%, 71%)
HSVhsv(279, 57%, 99%)
CMYKcmyk(19.4%, 56.5%, 0%, 0.8%)
CIE-LABlab(62.58, 60.04, -56.55)
CIE-LCHlch(62.58, 82.48, 316.72°)
OKLaboklab(70.29% 0.1453 -0.1585)
OKLCHoklch(70.29% 0.215 312.5)
XYZxyz(48.2043, 31.0823, 96.3696)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EFD #9FFD6E
analogous
#846EFD #CC6EFD #FD6EE6
triadic
#CC6EFD #FDCC6E #6EFDCC
tetradic
#CC6EFD #FD846E #9FFD6E #6EE6FD
square
#CC6EFD #FD846E #9FFD6E #6EE6FD
split-complementary
#CC6EFD #E6FD6E #6EFD84
monochromatic
#9D03ED #B732FC #CC6EFD #E1AAFE #F4E1FF

Accessibility & contrast

On white

2.91
#CC6EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CC6EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6EFD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6EFD#FFFFFF#000000##000000
##CC6EFD1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc6efd;
/* rgb */ color: rgb(204, 110, 253);
/* oklch */ color: oklch(70.3% 0.215 312.5);
Tailwind
colors: {
  custom: {
    50: '#df9bff',
    500: '#cc6efd',
    950: '#000000',
  },
}
SCSS
$custom: #cc6efd;
$custom-light: #df9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6efd",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 279.441,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70288,
    "c": 0.21506,
    "h": 312.5
  },
  "luminance": 0.31081
}

Semantic roles & 50–950 ramp

primary
#CC6EFD
secondary
#DDF6D1
accent
#E6004F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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