#CC6BFD#CC6BFD

#CC6BFD is a light, highly saturated violet. Relative luminance 0.304; OKLCH L 69.9% C 0.219 H 312.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CC6BFD
RGBrgb(204, 107, 253)
HSLhsl(280, 97%, 71%)
HSVhsv(280, 58%, 99%)
CMYKcmyk(19.4%, 57.7%, 0%, 0.8%)
CIE-LABlab(62.04, 61.49, -57.41)
CIE-LCHlch(62.04, 84.12, 316.97°)
OKLaboklab(69.89% 0.149 -0.161)
OKLCHoklch(69.89% 0.219 312.8)
XYZxyz(47.8861, 30.4459, 96.2636)
Luminance0.3044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6BFD #9CFD6B
analogous
#836BFD #CC6BFD #FD6BE5
triadic
#CC6BFD #FDCC6B #6BFDCC
tetradic
#CC6BFD #FD836B #9CFD6B #6BE5FD
square
#CC6BFD #FD836B #9CFD6B #6BE5FD
split-complementary
#CC6BFD #E5FD6B #6BFD83
monochromatic
#9D03EA #B72FFC #CC6BFD #E1A7FE #F5E1FF

Accessibility & contrast

On white

2.96
#CC6BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CC6BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6BFD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6BFD#FFFFFF#000000##000000
##CC6BFD1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C91FF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#C785AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6bfd;
/* rgb */ color: rgb(204, 107, 253);
/* oklch */ color: oklch(69.9% 0.219 312.8);
Tailwind
colors: {
  custom: {
    50: '#df9aff',
    500: '#cc6bfd',
    950: '#000000',
  },
}
SCSS
$custom: #cc6bfd;
$custom-light: #df9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6bfd",
  "rgb": {
    "r": 204,
    "g": 107,
    "b": 253
  },
  "hsl": {
    "h": 279.863,
    "s": 97.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69894,
    "c": 0.21939,
    "h": 312.8
  },
  "luminance": 0.30445
}

Semantic roles & 50–950 ramp

primary
#CC6BFD
secondary
#DBF6CE
accent
#E6004D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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