#CC3DBA#CC3DBA

#CC3DBA is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.1% C 0.222 H 333.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CC3DBA
RGBrgb(204, 61, 186)
HSLhsl(308, 58%, 52%)
HSVhsv(308, 70%, 80%)
CMYKcmyk(0%, 70.1%, 8.8%, 20%)
CIE-LABlab(51.52, 68.81, -36.20)
CIE-LCHlch(51.52, 77.75, 332.25°)
OKLaboklab(61.14% 0.199 -0.0992)
OKLCHoklch(61.14% 0.222 333.5)
XYZxyz(35.4337, 19.7230, 48.3856)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3DBA #3DCC4F
analogous
#963DCC #CC3DBA #CC3D73
triadic
#CC3DBA #BACC3D #3DBACC
tetradic
#CC3DBA #CC963D #3DCC4F #3D73CC
square
#CC3DBA #CC963D #3DCC4F #3D73CC
split-complementary
#CC3DBA #73CC3D #3DCC96
monochromatic
#711E66 #A12A92 #CC3DBA #D96DCB #E59EDC

Accessibility & contrast

On white

4.25
#CC3DBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CC3DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3DBA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3DBA#FFFFFF#000000##000000
##CC3DBA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#6C82B6
Tritanopia (blue-blind)
#D54A77
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc3dba;
/* rgb */ color: rgb(204, 61, 186);
/* oklch */ color: oklch(61.1% 0.222 333.5);
Tailwind
colors: {
  custom: {
    50: '#df7fcf',
    500: '#cc3dba',
    950: '#000000',
  },
}
SCSS
$custom: #cc3dba;
$custom-light: #df7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3dba",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 307.552,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61137,
    "c": 0.22233,
    "h": 333.5
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

primary
#CC3DBA
secondary
#93D29B
accent
#E25A46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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