#CC6BFE#CC6BFE

#CC6BFE is a light, highly saturated violet. Relative luminance 0.305; OKLCH L 70.0% C 0.220 H 312.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CC6BFE
RGBrgb(204, 107, 254)
HSLhsl(280, 99%, 71%)
HSVhsv(280, 58%, 100%)
CMYKcmyk(19.7%, 57.9%, 0%, 0.4%)
CIE-LABlab(62.09, 61.70, -57.87)
CIE-LCHlch(62.09, 84.59, 316.83°)
OKLaboklab(69.95% 0.149 -0.1624)
OKLCHoklch(69.95% 0.22 312.5)
XYZxyz(48.0458, 30.5097, 97.1047)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6BFE #9DFE6B
analogous
#826BFE #CC6BFE #FE6BE6
triadic
#CC6BFE #FECC6B #6BFECC
tetradic
#CC6BFE #FE826B #9DFE6B #6BE6FE
square
#CC6BFE #FE826B #9DFE6B #6BE6FE
split-complementary
#CC6BFE #E6FE6B #6BFE82
monochromatic
#9D02ED #B72EFE #CC6BFE #E1A8FE #F5E1FF

Accessibility & contrast

On white

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

On black

7.10
#CC6BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6BFE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6BFE#FFFFFF#000000##000000
##CC6BFE1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#C785AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6bfe;
/* rgb */ color: rgb(204, 107, 254);
/* oklch */ color: oklch(70.0% 0.220 312.5);
Tailwind
colors: {
  custom: {
    50: '#df9aff',
    500: '#cc6bfe',
    950: '#000000',
  },
}
SCSS
$custom: #cc6bfe;
$custom-light: #df9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6bfe",
  "rgb": {
    "r": 204,
    "g": 107,
    "b": 254
  },
  "hsl": {
    "h": 279.592,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69951,
    "c": 0.2204,
    "h": 312.5
  },
  "luminance": 0.30509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC6BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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