#CC6BFC#CC6BFC

#CC6BFC is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.8% C 0.218 H 313.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CC6BFC
RGBrgb(204, 107, 252)
HSLhsl(280, 96%, 70%)
HSVhsv(280, 58%, 99%)
CMYKcmyk(19%, 57.5%, 0%, 1.2%)
CIE-LABlab(61.98, 61.28, -56.94)
CIE-LCHlch(61.98, 83.66, 317.10°)
OKLaboklab(69.84% 0.149 -0.1597)
OKLCHoklch(69.84% 0.218 313)
XYZxyz(47.7272, 30.3823, 95.4268)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6BFC #9BFC6B
analogous
#836BFC #CC6BFC #FC6BE3
triadic
#CC6BFC #FCCC6B #6BFCCC
tetradic
#CC6BFC #FC836B #9BFC6B #6BE3FC
square
#CC6BFC #FC836B #9BFC6B #6BE3FC
split-complementary
#CC6BFC #E3FC6B #6BFC83
monochromatic
#9D05E8 #B72FFB #CC6BFC #E1A7FD #F5E1FE

Accessibility & contrast

On white

2.97
#CC6BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CC6BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6BFC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6BFC#FFFFFF#000000##000000
##CC6BFC1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#C785AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6bfc;
/* rgb */ color: rgb(204, 107, 252);
/* oklch */ color: oklch(69.8% 0.218 313.0);
Tailwind
colors: {
  custom: {
    50: '#df9afe',
    500: '#cc6bfc',
    950: '#000000',
  },
}
SCSS
$custom: #cc6bfc;
$custom-light: #df9afe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6bfc",
  "rgb": {
    "r": 204,
    "g": 107,
    "b": 252
  },
  "hsl": {
    "h": 280.138,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69837,
    "c": 0.21838,
    "h": 313
  },
  "luminance": 0.30381
}

Semantic roles & 50–950 ramp

primary
#CC6BFC
secondary
#DBF5CE
accent
#E6004C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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