#CC3FBA#CC3FBA

#CC3FBA is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.3% C 0.220 H 333.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CC3FBA
RGBrgb(204, 63, 186)
HSLhsl(308, 58%, 52%)
HSVhsv(308, 69%, 80%)
CMYKcmyk(0%, 69.1%, 8.8%, 20%)
CIE-LABlab(51.77, 68.11, -35.81)
CIE-LCHlch(51.77, 76.95, 332.26°)
OKLaboklab(61.32% 0.1969 -0.0981)
OKLCHoklch(61.32% 0.22 333.5)
XYZxyz(35.5425, 19.9405, 48.4218)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3FBA #3FCC51
analogous
#983FCC #CC3FBA #CC3F73
triadic
#CC3FBA #BACC3F #3FBACC
tetradic
#CC3FBA #CC983F #3FCC51 #3F73CC
square
#CC3FBA #CC983F #3FCC51 #3F73CC
split-complementary
#CC3FBA #73CC3F #3FCC98
monochromatic
#721E68 #A32B93 #CC3FBA #D96FCB #E6A0DD

Accessibility & contrast

On white

4.21
#CC3FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CC3FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3FBA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3FBA#FFFFFF#000000##000000
##CC3FBA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#6D83B7
Tritanopia (blue-blind)
#D54C78
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc3fba;
/* rgb */ color: rgb(204, 63, 186);
/* oklch */ color: oklch(61.3% 0.220 333.5);
Tailwind
colors: {
  custom: {
    50: '#df80cf',
    500: '#cc3fba',
    950: '#000000',
  },
}
SCSS
$custom: #cc3fba;
$custom-light: #df80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3fba",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 307.66,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61316,
    "c": 0.22002,
    "h": 333.5
  },
  "luminance": 0.19938
}

Semantic roles & 50–950 ramp

primary
#CC3FBA
secondary
#95D29D
accent
#E15A47
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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