#CC3ABC#CC3ABC

#CC3ABC is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.0% C 0.227 H 332.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CC3ABC
RGBrgb(204, 58, 188)
HSLhsl(307, 59%, 51%)
HSVhsv(307, 72%, 80%)
CMYKcmyk(0%, 71.6%, 7.8%, 20%)
CIE-LABlab(51.26, 70.12, -37.77)
CIE-LCHlch(51.26, 79.65, 331.69°)
OKLaboklab(60.98% 0.2021 -0.1037)
OKLCHoklch(60.98% 0.227 332.8)
XYZxyz(35.4922, 19.4973, 49.4613)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3ABC #3ACC4A
analogous
#933ACC #CC3ABC #CC3A73
triadic
#CC3ABC #BCCC3A #3ABCCC
tetradic
#CC3ABC #CC933A #3ACC4A #3A73CC
square
#CC3ABC #CC933A #3ACC4A #3A73CC
split-complementary
#CC3ABC #73CC3A #3ACC93
monochromatic
#6F1D66 #A02993 #CC3ABC #D96BCD #E59BDD

Accessibility & contrast

On white

4.29
#CC3ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CC3ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3ABC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3ABC#FFFFFF#000000##000000
##CC3ABC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#336DC0
Deuteranopia (green-blind)
#6A82B8
Tritanopia (blue-blind)
#D54977
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3abc;
/* rgb */ color: rgb(204, 58, 188);
/* oklch */ color: oklch(61.0% 0.227 332.8);
Tailwind
colors: {
  custom: {
    50: '#df7ed0',
    500: '#cc3abc',
    950: '#000000',
  },
}
SCSS
$custom: #cc3abc;
$custom-light: #df7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3abc",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 306.575,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.22712,
    "h": 332.8
  },
  "luminance": 0.19494
}

Semantic roles & 50–950 ramp

primary
#CC3ABC
secondary
#91D198
accent
#E25746
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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