#D123D4#D123D4

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

Color values

HEX#D123D4
RGBrgb(209, 35, 212)
HSLhsl(299, 72%, 48%)
HSVhsv(299, 83%, 83%)
CMYKcmyk(1.4%, 83.5%, 0%, 16.9%)
CIE-LABlab(51.28, 80.83, -51.53)
CIE-LCHlch(51.28, 95.86, 327.48°)
OKLaboklab(61.57% 0.2243 -0.1433)
OKLCHoklch(61.57% 0.266 327.4)
XYZxyz(38.7786, 19.5138, 63.9987)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D123D4 #26D423
analogous
#7823D4 #D123D4 #D4237E
triadic
#D123D4 #D4D123 #23D4D1
tetradic
#D123D4 #D47823 #26D423 #237ED4
square
#D123D4 #D47823 #26D423 #237ED4
split-complementary
#D123D4 #7ED423 #23D478
monochromatic
#69126B #9D1A9F #D123D4 #E052E2 #E986EB

Accessibility & contrast

On white

4.28
#D123D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#D123D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D123D4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D123D4#FFFFFF#000000##000000
##D123D41.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d123d4;
/* rgb */ color: rgb(209, 35, 212);
/* oklch */ color: oklch(61.6% 0.266 327.4);
Tailwind
colors: {
  custom: {
    50: '#e477e2',
    500: '#d123d4',
    950: '#000000',
  },
}
SCSS
$custom: #d123d4;
$custom-light: #e477e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d123d4",
  "rgb": {
    "r": 209,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 298.983,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.26616,
    "h": 327.4
  },
  "luminance": 0.19511
}

Semantic roles & 50–950 ramp

primary
#D123D4
secondary
#80D47E
accent
#EE393C
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #D123D4

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

Preview Lab → · Contrast checker → · Palette generator →

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