#CC6AF5#CC6AF5

#CC6AF5 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.3% C 0.213 H 314.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CC6AF5
RGBrgb(204, 106, 245)
HSLhsl(282, 87%, 69%)
HSVhsv(282, 57%, 96%)
CMYKcmyk(16.7%, 56.7%, 0%, 3.9%)
CIE-LABlab(61.43, 60.33, -53.96)
CIE-LCHlch(61.43, 80.94, 318.19°)
OKLaboklab(69.31% 0.15 -0.151)
OKLCHoklch(69.31% 0.213 314.8)
XYZxyz(46.5347, 29.7394, 89.6575)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6AF5 #93F56A
analogous
#876AF5 #CC6AF5 #F56AD9
triadic
#CC6AF5 #F5CC6A #6AF5CC
tetradic
#CC6AF5 #F5876A #93F56A #6AD9F5
square
#CC6AF5 #F5876A #93F56A #6AD9F5
split-complementary
#CC6AF5 #D9F56A #6AF587
monochromatic
#9B0ED6 #B831F1 #CC6AF5 #E0A3F9 #F3DDFD

Accessibility & contrast

On white

3.02
#CC6AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CC6AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6AF5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6AF5#FFFFFF#000000##000000
##CC6AF51.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FF9
Deuteranopia (green-blind)
#6897F1
Tritanopia (blue-blind)
#C982A6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc6af5;
/* rgb */ color: rgb(204, 106, 245);
/* oklch */ color: oklch(69.3% 0.213 314.8);
Tailwind
colors: {
  custom: {
    50: '#df99f9',
    500: '#cc6af5',
    950: '#000000',
  },
}
SCSS
$custom: #cc6af5;
$custom-light: #df99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6af5",
  "rgb": {
    "r": 204,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 282.302,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69311,
    "c": 0.21279,
    "h": 314.8
  },
  "luminance": 0.29738
}

Semantic roles & 50–950 ramp

primary
#CC6AF5
secondary
#D5F2C9
accent
#E40244
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CC6AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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