#D332B9#D332B9

#D332B9 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.3% C 0.237 H 335.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D332B9
RGBrgb(211, 50, 185)
HSLhsl(310, 65%, 51%)
HSVhsv(310, 76%, 83%)
CMYKcmyk(0%, 76.3%, 12.3%, 17.3%)
CIE-LABlab(51.42, 73.68, -35.70)
CIE-LCHlch(51.42, 81.87, 334.15°)
OKLaboklab(61.27% 0.2159 -0.0975)
OKLCHoklch(61.27% 0.237 335.7)
XYZxyz(36.7621, 19.6363, 47.7436)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D332B9 #32D34C
analogous
#9C32D3 #D332B9 #D33268
triadic
#D332B9 #B9D332 #32B9D3
tetradic
#D332B9 #D39C32 #32D34C #3268D3
square
#D332B9 #D39C32 #32D34C #3268D3
split-complementary
#D332B9 #68D332 #32D39C
monochromatic
#721864 #A42390 #D332B9 #DE64CA #E997DB

Accessibility & contrast

On white

4.26
#D332B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#D332B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D332B9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D332B9#FFFFFF#000000##000000
##D332B91.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#336BBD
Deuteranopia (green-blind)
#6E83B5
Tritanopia (blue-blind)
#DE3F73
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d332b9;
/* rgb */ color: rgb(211, 50, 185);
/* oklch */ color: oklch(61.3% 0.237 335.7);
Tailwind
colors: {
  custom: {
    50: '#e57bce',
    500: '#d332b9',
    950: '#000000',
  },
}
SCSS
$custom: #d332b9;
$custom-light: #e57bce;
$custom-dark: #000000;
JSON
{
  "hex": "#d332b9",
  "rgb": {
    "r": 211,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 309.689,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6127,
    "c": 0.23687,
    "h": 335.7
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#D332B9
secondary
#8DD498
accent
#E85B40
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D332B9

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

Preview Lab → · Contrast checker → · Palette generator →

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