#D121D4#D121D4

#D121D4 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.5% C 0.267 H 327.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D121D4
RGBrgb(209, 33, 212)
HSLhsl(299, 73%, 48%)
HSVhsv(299, 84%, 83%)
CMYKcmyk(1.4%, 84.4%, 0%, 16.9%)
CIE-LABlab(51.15, 81.21, -51.74)
CIE-LCHlch(51.15, 96.29, 327.50°)
OKLaboklab(61.48% 0.2254 -0.1439)
OKLCHoklch(61.48% 0.267 327.4)
XYZxyz(38.7215, 19.3994, 63.9796)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D121D4 #24D421
analogous
#7721D4 #D121D4 #D4217E
triadic
#D121D4 #D4D121 #21D4D1
tetradic
#D121D4 #D47721 #24D421 #217ED4
square
#D121D4 #D47721 #24D421 #217ED4
split-complementary
#D121D4 #7ED421 #21D477
monochromatic
#69116A #9D199F #D121D4 #E14FE4 #EA84EC

Accessibility & contrast

On white

4.30
#D121D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D121D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D121D4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D121D4#FFFFFF#000000##000000
##D121D41.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#5881D0
Tritanopia (blue-blind)
#D7467F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d121d4;
/* rgb */ color: rgb(209, 33, 212);
/* oklch */ color: oklch(61.5% 0.267 327.4);
Tailwind
colors: {
  custom: {
    50: '#e477e2',
    500: '#d121d4',
    950: '#000000',
  },
}
SCSS
$custom: #d121d4;
$custom-light: #e477e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d121d4",
  "rgb": {
    "r": 209,
    "g": 33,
    "b": 212
  },
  "hsl": {
    "h": 298.994,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61476,
    "c": 0.26739,
    "h": 327.4
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#D121D4
secondary
#7ED57C
accent
#F0383B
background
#FEF7FD
surface
#FDEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #D121D4

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

Preview Lab → · Contrast checker → · Palette generator →

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