#CC4BD7#CC4BD7

#CC4BD7 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.0% C 0.228 H 324.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CC4BD7
RGBrgb(204, 75, 215)
HSLhsl(295, 64%, 57%)
HSVhsv(295, 65%, 84%)
CMYKcmyk(5.1%, 65.1%, 0%, 15.7%)
CIE-LABlab(54.84, 68.34, -47.62)
CIE-LCHlch(54.84, 83.29, 325.13°)
OKLaboklab(64.01% 0.1856 -0.1323)
OKLCHoklch(64.01% 0.228 324.5)
XYZxyz(39.6826, 22.7782, 66.5833)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4BD7 #56D74B
analogous
#864BD7 #CC4BD7 #D74B9C
triadic
#CC4BD7 #D7CC4B #4BD7CC
tetradic
#CC4BD7 #D7864B #56D74B #4B9CD7
square
#CC4BD7 #D7864B #56D74B #4B9CD7
split-complementary
#CC4BD7 #9CD74B #4BD786
monochromatic
#811E89 #B02ABB #CC4BD7 #DA7DE2 #E8AFED

Accessibility & contrast

On white

3.78
#CC4BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CC4BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4BD7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4BD7#FFFFFF#000000##000000
##CC4BD71.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E79DB
Deuteranopia (green-blind)
#6489D3
Tritanopia (blue-blind)
#D0618B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc4bd7;
/* rgb */ color: rgb(204, 75, 215);
/* oklch */ color: oklch(64.0% 0.228 324.5);
Tailwind
colors: {
  custom: {
    50: '#df87e4',
    500: '#cc4bd7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4bd7;
$custom-light: #df87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4bd7",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 295.286,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64012,
    "c": 0.22792,
    "h": 324.5
  },
  "luminance": 0.22776
}

Semantic roles & 50–950 ramp

primary
#CC4BD7
secondary
#A7DBA2
accent
#E7414E
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CC4BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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