#CC3BCC#CC3BCC

#CC3BCC is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.9% C 0.238 H 328.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CC3BCC
RGBrgb(204, 59, 204)
HSLhsl(300, 59%, 52%)
HSVhsv(300, 71%, 80%)
CMYKcmyk(0%, 71.1%, 0%, 20%)
CIE-LABlab(52.21, 72.29, -45.52)
CIE-LCHlch(52.21, 85.43, 327.80°)
OKLaboklab(61.93% 0.2017 -0.1261)
OKLCHoklch(61.93% 0.238 328)
XYZxyz(37.3644, 20.3276, 59.0707)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3BCC #3BCC3B
analogous
#843BCC #CC3BCC #CC3B84
triadic
#CC3BCC #CCCC3B #3BCCCC
tetradic
#CC3BCC #CC843B #3BCC3B #3B84CC
square
#CC3BCC #CC843B #3BCC3B #3B84CC
split-complementary
#CC3BCC #84CC3B #3BCC84
monochromatic
#701D70 #A02AA0 #CC3BCC #D96CD9 #E59CE5

Accessibility & contrast

On white

4.15
#CC3BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CC3BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3BCC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3BCC#FFFFFF#000000##000000
##CC3BCC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2070D0
Deuteranopia (green-blind)
#6283C8
Tritanopia (blue-blind)
#D25180
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc3bcc;
/* rgb */ color: rgb(204, 59, 204);
/* oklch */ color: oklch(61.9% 0.238 328.0);
Tailwind
colors: {
  custom: {
    50: '#df7fdc',
    500: '#cc3bcc',
    950: '#000000',
  },
}
SCSS
$custom: #cc3bcc;
$custom-light: #df7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3bcc",
  "rgb": {
    "r": 204,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61926,
    "c": 0.23783,
    "h": 328
  },
  "luminance": 0.20325
}

Semantic roles & 50–950 ramp

primary
#CC3BCC
secondary
#92D192
accent
#E24646
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC3BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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