#D12CC6#D12CC6

#D12CC6 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.3% C 0.250 H 331.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#D12CC6
RGBrgb(209, 44, 198)
HSLhsl(304, 65%, 50%)
HSVhsv(304, 79%, 82%)
CMYKcmyk(0%, 78.9%, 5.3%, 18%)
CIE-LABlab(51.19, 76.72, -43.62)
CIE-LCHlch(51.19, 88.26, 330.38°)
OKLaboklab(61.26% 0.2191 -0.1203)
OKLCHoklch(61.26% 0.25 331.2)
XYZxyz(37.3882, 19.4370, 55.1977)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12CC6 #2CD137
analogous
#8A2CD1 #D12CC6 #D12C74
triadic
#D12CC6 #C6D12C #2CC6D1
tetradic
#D12CC6 #D18A2C #2CD137 #2C74D1
square
#D12CC6 #D18A2C #2CD137 #2C74D1
split-complementary
#D12CC6 #74D12C #2CD18A
monochromatic
#6C1766 #9E2196 #D12CC6 #DD5DD4 #E890E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D12CC6#FFFFFF#000000##000000
##D12CC61.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#166CCA
Deuteranopia (green-blind)
#6482C2
Tritanopia (blue-blind)
#DA4379
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d12cc6;
/* rgb */ color: rgb(209, 44, 198);
/* oklch */ color: oklch(61.3% 0.250 331.2);
Tailwind
colors: {
  custom: {
    50: '#e379d8',
    500: '#d12cc6',
    950: '#000000',
  },
}
SCSS
$custom: #d12cc6;
$custom-light: #e379d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d12cc6",
  "rgb": {
    "r": 209,
    "g": 44,
    "b": 198
  },
  "hsl": {
    "h": 304,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61256,
    "c": 0.24996,
    "h": 331.2
  },
  "luminance": 0.19434
}

Semantic roles & 50–950 ramp

primary
#D12CC6
secondary
#87D28C
accent
#E84B40
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #D12CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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