#D122D4#D122D4

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

Color values

HEX#D122D4
RGBrgb(209, 34, 212)
HSLhsl(299, 72%, 48%)
HSVhsv(299, 84%, 83%)
CMYKcmyk(1.4%, 84%, 0%, 16.9%)
CIE-LABlab(51.22, 81.02, -51.63)
CIE-LCHlch(51.22, 96.08, 327.49°)
OKLaboklab(61.52% 0.2248 -0.1436)
OKLCHoklch(61.52% 0.267 327.4)
XYZxyz(38.7496, 19.4558, 63.9890)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D122D4 #25D422
analogous
#7822D4 #D122D4 #D4227E
triadic
#D122D4 #D4D122 #22D4D1
tetradic
#D122D4 #D47822 #25D422 #227ED4
square
#D122D4 #D47822 #25D422 #227ED4
split-complementary
#D122D4 #7ED422 #22D478
monochromatic
#69116B #9D1A9F #D122D4 #E050E3 #EA85EB

Accessibility & contrast

On white

4.29
#D122D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#D122D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D122D4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D122D4#FFFFFF#000000##000000
##D122D41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d122d4;
/* rgb */ color: rgb(209, 34, 212);
/* oklch */ color: oklch(61.5% 0.267 327.4);
Tailwind
colors: {
  custom: {
    50: '#e477e2',
    500: '#d122d4',
    950: '#000000',
  },
}
SCSS
$custom: #d122d4;
$custom-light: #e477e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d122d4",
  "rgb": {
    "r": 209,
    "g": 34,
    "b": 212
  },
  "hsl": {
    "h": 298.989,
    "s": 72.358,
    "l": 48.235
  },
  "oklch": {
    "l": 0.61522,
    "c": 0.26678,
    "h": 327.4
  },
  "luminance": 0.19453
}

Semantic roles & 50–950 ramp

primary
#D122D4
secondary
#7FD57D
accent
#EF393C
background
#FEF7FD
surface
#FDEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #D122D4

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

Preview Lab → · Contrast checker → · Palette generator →

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