#CC6AFA#CC6AFA

#CC6AFA is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.6% C 0.218 H 313.6°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#CC6AFA
RGBrgb(204, 106, 250)
HSLhsl(281, 94%, 70%)
HSVhsv(281, 58%, 98%)
CMYKcmyk(18.4%, 57.6%, 0%, 2%)
CIE-LABlab(61.70, 61.35, -56.30)
CIE-LCHlch(61.70, 83.27, 317.46°)
OKLaboklab(69.59% 0.1501 -0.1578)
OKLCHoklch(69.59% 0.218 313.6)
XYZxyz(47.3083, 30.0489, 93.7319)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6AFA #98FA6A
analogous
#846AFA #CC6AFA #FA6AE0
triadic
#CC6AFA #FACC6A #6AFACC
tetradic
#CC6AFA #FA846A #98FA6A #6AE0FA
square
#CC6AFA #FA846A #98FA6A #6AE0FA
split-complementary
#CC6AFA #E0FA6A #6AFA84
monochromatic
#9C08E2 #B82FF8 #CC6AFA #E0A5FC #F5E0FE

Accessibility & contrast

On white

3.00
#CC6AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#CC6AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6AFA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6AFA#FFFFFF#000000##000000
##CC6AFA1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E90FF
Deuteranopia (green-blind)
#6497F6
Tritanopia (blue-blind)
#C883A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6afa;
/* rgb */ color: rgb(204, 106, 250);
/* oklch */ color: oklch(69.6% 0.218 313.6);
Tailwind
colors: {
  custom: {
    50: '#df99fc',
    500: '#cc6afa',
    950: '#000000',
  },
}
SCSS
$custom: #cc6afa;
$custom-light: #df99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6afa",
  "rgb": {
    "r": 204,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 280.833,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69593,
    "c": 0.2178,
    "h": 313.6
  },
  "luminance": 0.30048
}

Semantic roles & 50–950 ramp

primary
#CC6AFA
secondary
#D9F4CC
accent
#E60049
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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