#D32EC2#D32EC2

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

Color values

HEX#D32EC2
RGBrgb(211, 46, 194)
HSLhsl(306, 65%, 50%)
HSVhsv(306, 78%, 83%)
CMYKcmyk(0%, 78.2%, 8.1%, 17.3%)
CIE-LABlab(51.50, 76.04, -40.80)
CIE-LCHlch(51.50, 86.29, 331.78°)
OKLaboklab(61.47% 0.2195 -0.1122)
OKLCHoklch(61.47% 0.246 332.9)
XYZxyz(37.5788, 19.7012, 52.8520)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D32EC2 #2ED33F
analogous
#922ED3 #D32EC2 #D32E6F
triadic
#D32EC2 #C2D32E #2EC2D3
tetradic
#D32EC2 #D3922E #2ED33F #2E6FD3
square
#D32EC2 #D3922E #2ED33F #2E6FD3
split-complementary
#D32EC2 #6FD32E #2ED392
monochromatic
#6F1766 #A22295 #D32EC2 #DE61D1 #E893E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D32EC2#FFFFFF#000000##000000
##D32EC21.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)
#246CC6
Deuteranopia (green-blind)
#6883BE
Tritanopia (blue-blind)
#DC4277
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d32ec2;
/* rgb */ color: rgb(211, 46, 194);
/* oklch */ color: oklch(61.5% 0.246 332.9);
Tailwind
colors: {
  custom: {
    50: '#e57ad5',
    500: '#d32ec2',
    950: '#000000',
  },
}
SCSS
$custom: #d32ec2;
$custom-light: #e57ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#d32ec2",
  "rgb": {
    "r": 211,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 306.182,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.24649,
    "h": 332.9
  },
  "luminance": 0.19698
}

Semantic roles & 50–950 ramp

primary
#D32EC2
secondary
#8AD391
accent
#E85140
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D32EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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