#D332C1#D332C1

#D332C1 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.7% C 0.242 H 333.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D332C1
RGBrgb(211, 50, 193)
HSLhsl(307, 65%, 51%)
HSVhsv(307, 76%, 83%)
CMYKcmyk(0%, 76.3%, 8.5%, 17.3%)
CIE-LABlab(51.82, 74.82, -39.72)
CIE-LCHlch(51.82, 84.71, 332.04°)
OKLaboklab(61.68% 0.2163 -0.1091)
OKLCHoklch(61.68% 0.242 333.2)
XYZxyz(37.6305, 19.9836, 52.3171)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D332C1 #32D344
analogous
#9432D3 #D332C1 #D33270
triadic
#D332C1 #C1D332 #32C1D3
tetradic
#D332C1 #D39432 #32D344 #3270D3
square
#D332C1 #D39432 #32D344 #3270D3
split-complementary
#D332C1 #70D332 #32D394
monochromatic
#721868 #A42396 #D332C1 #DE64D0 #E997DF

Accessibility & contrast

On white

4.20
#D332C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D332C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D332C1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D332C1#FFFFFF#000000##000000
##D332C11.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC5
Deuteranopia (green-blind)
#6A84BD
Tritanopia (blue-blind)
#DD4478
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d332c1;
/* rgb */ color: rgb(211, 50, 193);
/* oklch */ color: oklch(61.7% 0.242 333.2);
Tailwind
colors: {
  custom: {
    50: '#e57cd4',
    500: '#d332c1',
    950: '#000000',
  },
}
SCSS
$custom: #d332c1;
$custom-light: #e57cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#d332c1",
  "rgb": {
    "r": 211,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 306.708,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61681,
    "c": 0.24226,
    "h": 333.2
  },
  "luminance": 0.1998
}

Semantic roles & 50–950 ramp

primary
#D332C1
secondary
#8DD495
accent
#E85340
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D332C1

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

Preview Lab → · Contrast checker → · Palette generator →

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