#CC6DFD#CC6DFD

#CC6DFD is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 70.2% C 0.217 H 312.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CC6DFD
RGBrgb(204, 109, 253)
HSLhsl(280, 97%, 71%)
HSVhsv(280, 57%, 99%)
CMYKcmyk(19.4%, 56.9%, 0%, 0.8%)
CIE-LABlab(62.40, 60.53, -56.84)
CIE-LCHlch(62.40, 83.03, 316.80°)
OKLaboklab(70.16% 0.1465 -0.1594)
OKLCHoklch(70.16% 0.217 312.6)
XYZxyz(48.0970, 30.8677, 96.3339)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6DFD #9EFD6D
analogous
#846DFD #CC6DFD #FD6DE6
triadic
#CC6DFD #FDCC6D #6DFDCC
tetradic
#CC6DFD #FD846D #9EFD6D #6DE6FD
square
#CC6DFD #FD846D #9EFD6D #6DE6FD
split-complementary
#CC6DFD #E6FD6D #6DFD84
monochromatic
#9D03EC #B731FC #CC6DFD #E1A9FE #F4E1FF

Accessibility & contrast

On white

2.93
#CC6DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CC6DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6DFD
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6DFD#FFFFFF#000000##000000
##CC6DFD1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#C786AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc6dfd;
/* rgb */ color: rgb(204, 109, 253);
/* oklch */ color: oklch(70.2% 0.217 312.6);
Tailwind
colors: {
  custom: {
    50: '#df9bff',
    500: '#cc6dfd',
    950: '#000000',
  },
}
SCSS
$custom: #cc6dfd;
$custom-light: #df9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6dfd",
  "rgb": {
    "r": 204,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 279.583,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70156,
    "c": 0.21651,
    "h": 312.6
  },
  "luminance": 0.30866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC6DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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