#D321D4#D321D4

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

Color values

HEX#D321D4
RGBrgb(211, 33, 212)
HSLhsl(300, 73%, 48%)
HSVhsv(300, 84%, 83%)
CMYKcmyk(0.5%, 84.4%, 0%, 16.9%)
CIE-LABlab(51.49, 81.57, -51.18)
CIE-LCHlch(51.49, 96.30, 327.89°)
OKLaboklab(61.78% 0.2274 -0.1422)
OKLCHoklch(61.78% 0.268 328)
XYZxyz(39.2910, 19.6931, 64.0063)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D321D4 #22D421
analogous
#7A21D4 #D321D4 #D4217B
triadic
#D321D4 #D4D321 #21D4D3
tetradic
#D321D4 #D47A21 #22D421 #217BD4
square
#D321D4 #D47A21 #22D421 #217BD4
split-complementary
#D321D4 #7BD421 #21D47A
monochromatic
#6A116A #9E199F #D321D4 #E34FE4 #EB84EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D321D4#FFFFFF#000000##000000
##D321D41.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)
#006DD8
Deuteranopia (green-blind)
#5A82D0
Tritanopia (blue-blind)
#DA457F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d321d4;
/* rgb */ color: rgb(211, 33, 212);
/* oklch */ color: oklch(61.8% 0.268 328.0);
Tailwind
colors: {
  custom: {
    50: '#e577e2',
    500: '#d321d4',
    950: '#000000',
  },
}
SCSS
$custom: #d321d4;
$custom-light: #e577e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d321d4",
  "rgb": {
    "r": 211,
    "g": 33,
    "b": 212
  },
  "hsl": {
    "h": 299.665,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61777,
    "c": 0.26818,
    "h": 328
  },
  "luminance": 0.1969
}

Semantic roles & 50–950 ramp

primary
#D321D4
secondary
#7DD57C
accent
#F03839
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170A15
muted
#857C83

Preview Lab

Preview with #D321D4

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

Preview Lab → · Contrast checker → · Palette generator →

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