#CC50F2#CC50F2

#CC50F2 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.1% C 0.245 H 317.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CC50F2
RGBrgb(204, 80, 242)
HSLhsl(286, 86%, 63%)
HSVhsv(286, 67%, 95%)
CMYKcmyk(15.7%, 66.9%, 0%, 5.1%)
CIE-LABlab(57.06, 71.26, -59.26)
CIE-LCHlch(57.06, 92.68, 320.25°)
OKLaboklab(66.1% 0.1798 -0.1663)
OKLCHoklch(66.1% 0.245 317.2)
XYZxyz(43.7952, 24.9873, 86.5033)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC50F2 #76F250
analogous
#7B50F2 #CC50F2 #F250C7
triadic
#CC50F2 #F2CC50 #50F2CC
tetradic
#CC50F2 #F27B50 #76F250 #50C7F2
square
#CC50F2 #F27B50 #76F250 #50C7F2
split-complementary
#CC50F2 #C7F250 #50F27B
monochromatic
#910EBA #BB17EE #CC50F2 #DD89F6 #EDC2FA

Accessibility & contrast

On white

3.50
#CC50F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CC50F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC50F2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC50F2#FFFFFF#000000##000000
##CC50F21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#548DEE
Tritanopia (blue-blind)
#CA6F9B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc50f2;
/* rgb */ color: rgb(204, 80, 242);
/* oklch */ color: oklch(66.1% 0.245 317.2);
Tailwind
colors: {
  custom: {
    50: '#e08af7',
    500: '#cc50f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc50f2;
$custom-light: #e08af7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc50f2",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 242
  },
  "hsl": {
    "h": 285.926,
    "s": 86.17,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66095,
    "c": 0.24493,
    "h": 317.2
  },
  "luminance": 0.24985
}

Semantic roles & 50–950 ramp

primary
#CC50F2
secondary
#BFECB2
accent
#E30337
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC50F2

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

Preview Lab → · Contrast checker → · Palette generator →

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