#CC3ABF#CC3ABF

#CC3ABF is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.1% C 0.229 H 331.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CC3ABF
RGBrgb(204, 58, 191)
HSLhsl(305, 59%, 51%)
HSVhsv(305, 72%, 80%)
CMYKcmyk(0%, 71.6%, 6.4%, 20%)
CIE-LABlab(51.41, 70.58, -39.28)
CIE-LCHlch(51.41, 80.77, 330.90°)
OKLaboklab(61.14% 0.2023 -0.108)
OKLCHoklch(61.14% 0.229 331.9)
XYZxyz(35.8189, 19.6280, 51.1822)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3ABF #3ACC47
analogous
#903ACC #CC3ABF #CC3A76
triadic
#CC3ABF #BFCC3A #3ABFCC
tetradic
#CC3ABF #CC903A #3ACC47 #3A76CC
square
#CC3ABF #CC903A #3ACC47 #3A76CC
split-complementary
#CC3ABF #76CC3A #3ACC90
monochromatic
#6F1D68 #A02995 #CC3ABF #D96BCF #E59BDF

Accessibility & contrast

On white

4.26
#CC3ABF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CC3ABF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3ABF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3ABF#FFFFFF#000000##000000
##CC3ABF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#306DC3
Deuteranopia (green-blind)
#6882BB
Tritanopia (blue-blind)
#D44A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3abf;
/* rgb */ color: rgb(204, 58, 191);
/* oklch */ color: oklch(61.1% 0.229 331.9);
Tailwind
colors: {
  custom: {
    50: '#df7ed3',
    500: '#cc3abf',
    950: '#000000',
  },
}
SCSS
$custom: #cc3abf;
$custom-light: #df7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3abf",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 305.342,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61139,
    "c": 0.22927,
    "h": 331.9
  },
  "luminance": 0.19625
}

Semantic roles & 50–950 ramp

primary
#CC3ABF
secondary
#91D196
accent
#E25446
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC3ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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