#D332C5#D332C5

#D332C5 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.9% C 0.245 H 332.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D332C5
RGBrgb(211, 50, 197)
HSLhsl(305, 65%, 51%)
HSVhsv(305, 76%, 83%)
CMYKcmyk(0%, 76.3%, 6.6%, 17.3%)
CIE-LABlab(52.02, 75.41, -41.71)
CIE-LCHlch(52.02, 86.17, 331.05°)
OKLaboklab(61.89% 0.2165 -0.1148)
OKLCHoklch(61.89% 0.245 332.1)
XYZxyz(38.0827, 20.1645, 54.6989)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D332C5 #32D340
analogous
#9032D3 #D332C5 #D33274
triadic
#D332C5 #C5D332 #32C5D3
tetradic
#D332C5 #D39032 #32D340 #3274D3
square
#D332C5 #D39032 #32D340 #3274D3
split-complementary
#D332C5 #74D332 #32D390
monochromatic
#72186A #A42399 #D332C5 #DE64D3 #E997E2

Accessibility & contrast

On white

4.17
#D332C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D332C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D332C5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D332C5#FFFFFF#000000##000000
##D332C51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#256EC9
Deuteranopia (green-blind)
#6884C1
Tritanopia (blue-blind)
#DC467A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d332c5;
/* rgb */ color: rgb(211, 50, 197);
/* oklch */ color: oklch(61.9% 0.245 332.1);
Tailwind
colors: {
  custom: {
    50: '#e57cd7',
    500: '#d332c5',
    950: '#000000',
  },
}
SCSS
$custom: #d332c5;
$custom-light: #e57cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#d332c5",
  "rgb": {
    "r": 211,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 305.217,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61893,
    "c": 0.24501,
    "h": 332.1
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#D332C5
secondary
#8DD493
accent
#E84F40
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D332C5

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

Preview Lab → · Contrast checker → · Palette generator →

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