#CC4BF1#CC4BF1

#CC4BF1 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.5% C 0.250 H 317.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CC4BF1
RGBrgb(204, 75, 241)
HSLhsl(287, 86%, 62%)
HSVhsv(287, 69%, 95%)
CMYKcmyk(15.4%, 68.9%, 0%, 5.5%)
CIE-LABlab(56.31, 73.03, -59.91)
CIE-LCHlch(56.31, 94.46, 320.63°)
OKLaboklab(65.54% 0.1849 -0.1682)
OKLCHoklch(65.54% 0.25 317.7)
XYZxyz(43.2928, 24.2223, 85.5969)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4BF1 #70F14B
analogous
#794BF1 #CC4BF1 #F14BC3
triadic
#CC4BF1 #F1CC4B #4BF1CC
tetradic
#CC4BF1 #F1794B #70F14B #4BC3F1
square
#CC4BF1 #F1794B #70F14B #4BC3F1
split-complementary
#CC4BF1 #C3F14B #4BF179
monochromatic
#8F0EB4 #BC12EC #CC4BF1 #DC84F5 #ECBDFA

Accessibility & contrast

On white

3.59
#CC4BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CC4BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4BF1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4BF1#FFFFFF#000000##000000
##CC4BF11.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#518BED
Tritanopia (blue-blind)
#CB6B99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc4bf1;
/* rgb */ color: rgb(204, 75, 241);
/* oklch */ color: oklch(65.5% 0.250 317.7);
Tailwind
colors: {
  custom: {
    50: '#e087f6',
    500: '#cc4bf1',
    950: '#000000',
  },
}
SCSS
$custom: #cc4bf1;
$custom-light: #e087f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4bf1",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 241
  },
  "hsl": {
    "h": 286.627,
    "s": 85.567,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65536,
    "c": 0.24997,
    "h": 317.7
  },
  "luminance": 0.2422
}

Semantic roles & 50–950 ramp

primary
#CC4BF1
secondary
#BBEBAD
accent
#E20335
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC4BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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