#CC46FD#CC46FD

#CC46FD is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.8% C 0.266 H 315.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CC46FD
RGBrgb(204, 70, 253)
HSLhsl(284, 98%, 63%)
HSVhsv(284, 72%, 99%)
CMYKcmyk(19.4%, 72.3%, 0%, 0.8%)
CIE-LABlab(56.40, 77.11, -66.45)
CIE-LCHlch(56.40, 101.79, 319.25°)
OKLaboklab(65.83% 0.1885 -0.1873)
OKLCHoklch(65.83% 0.266 315.2)
XYZxyz(44.8187, 24.3112, 95.2411)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46FD #77FD46
analogous
#7046FD #CC46FD #FD46D3
triadic
#CC46FD #FDCC46 #46FDCC
tetradic
#CC46FD #FD7046 #77FD46 #46D3FD
square
#CC46FD #FD7046 #77FD46 #46D3FD
split-complementary
#CC46FD #D3FD46 #46FD70
monochromatic
#9202C6 #BB09FC #CC46FD #DD83FE #EDBFFE

Accessibility & contrast

On white

3.58
#CC46FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CC46FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46FD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46FD#FFFFFF#000000##000000
##CC46FD1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#408BF9
Tritanopia (blue-blind)
#C86E9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc46fd;
/* rgb */ color: rgb(204, 70, 253);
/* oklch */ color: oklch(65.8% 0.266 315.2);
Tailwind
colors: {
  custom: {
    50: '#e085ff',
    500: '#cc46fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc46fd;
$custom-light: #e085ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46fd",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 253
  },
  "hsl": {
    "h": 283.934,
    "s": 97.861,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65834,
    "c": 0.26577,
    "h": 315.2
  },
  "luminance": 0.2431
}

Semantic roles & 50–950 ramp

primary
#CC46FD
secondary
#C0F0AF
accent
#E6003D
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CC46FD

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

Preview Lab → · Contrast checker → · Palette generator →

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