#CC3AFF#CC3AFF

#CC3AFF is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 65.0% C 0.279 H 315.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CC3AFF
RGBrgb(204, 58, 255)
HSLhsl(284, 100%, 61%)
HSVhsv(284, 77%, 100%)
CMYKcmyk(20%, 77.3%, 0%, 0%)
CIE-LABlab(55.16, 81.41, -69.56)
CIE-LCHlch(55.16, 107.08, 319.49°)
OKLaboklab(65% 0.1981 -0.1964)
OKLCHoklch(65% 0.279 315.3)
XYZxyz(44.4619, 23.0852, 96.7022)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AFF #6DFF3A
analogous
#6A3AFF #CC3AFF #FF3AD0
triadic
#CC3AFF #FFCC3A #3AFFCC
tetradic
#CC3AFF #FF6A3A #6DFF3A #3AD0FF
square
#CC3AFF #FF6A3A #6DFF3A #3AD0FF
split-complementary
#CC3AFF #D0FF3A #3AFF6A
monochromatic
#8D00BF #BB00FC #CC3AFF #DC77FF #ECB4FF

Accessibility & contrast

On white

3.74
#CC3AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CC3AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3AFF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3AFF#FFFFFF#000000##000000
##CC3AFF1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#3188FB
Tritanopia (blue-blind)
#C8689D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc3aff;
/* rgb */ color: rgb(204, 58, 255);
/* oklch */ color: oklch(65.0% 0.279 315.3);
Tailwind
colors: {
  custom: {
    50: '#e180ff',
    500: '#cc3aff',
    950: '#000000',
  },
}
SCSS
$custom: #cc3aff;
$custom-light: #e180ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3aff",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 255
  },
  "hsl": {
    "h": 284.467,
    "s": 100,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65001,
    "c": 0.27895,
    "h": 315.3
  },
  "luminance": 0.23083
}

Semantic roles & 50–950 ramp

primary
#CC3AFF
secondary
#B9EFA6
accent
#E6003B
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160B18
muted
#847C86

Preview Lab

Preview with #CC3AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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