#CC4FEB#CC4FEB

#CC4FEB is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.6% C 0.240 H 319.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CC4FEB
RGBrgb(204, 79, 235)
HSLhsl(288, 80%, 62%)
HSVhsv(288, 66%, 92%)
CMYKcmyk(13.2%, 66.4%, 0%, 7.8%)
CIE-LABlab(56.52, 70.35, -56.23)
CIE-LCHlch(56.52, 90.06, 321.37°)
OKLaboklab(65.57% 0.1811 -0.1574)
OKLCHoklch(65.57% 0.24 319)
XYZxyz(42.6912, 24.4294, 81.0478)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FEB #6EEB4F
analogous
#7E4FEB #CC4FEB #EB4FBC
triadic
#CC4FEB #EBCC4F #4FEBCC
tetradic
#CC4FEB #EB7E4F #6EEB4F #4FBCEB
square
#CC4FEB #EB7E4F #6EEB4F #4FBCEB
split-complementary
#CC4FEB #BCEB4F #4FEB7E
monochromatic
#8E14AC #BB1AE3 #CC4FEB #DC86F1 #ECBDF7

Accessibility & contrast

On white

3.57
#CC4FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CC4FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FEB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FEB#FFFFFF#000000##000000
##CC4FEB1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7FF0
Deuteranopia (green-blind)
#598CE7
Tritanopia (blue-blind)
#CC6B97
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc4feb;
/* rgb */ color: rgb(204, 79, 235);
/* oklch */ color: oklch(65.6% 0.240 319.0);
Tailwind
colors: {
  custom: {
    50: '#df89f2',
    500: '#cc4feb',
    950: '#000000',
  },
}
SCSS
$custom: #cc4feb;
$custom-light: #df89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4feb",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 288.077,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65572,
    "c": 0.23999,
    "h": 319
  },
  "luminance": 0.24427
}

Semantic roles & 50–950 ramp

primary
#CC4FEB
secondary
#B9E8AE
accent
#DC0A33
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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