#D12CCA#D12CCA

#D12CCA is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.5% C 0.253 H 330.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D12CCA
RGBrgb(209, 44, 202)
HSLhsl(303, 65%, 50%)
HSVhsv(303, 79%, 82%)
CMYKcmyk(0%, 78.9%, 3.3%, 18%)
CIE-LABlab(51.41, 77.32, -45.59)
CIE-LCHlch(51.41, 89.76, 329.48°)
OKLaboklab(61.48% 0.2191 -0.126)
OKLCHoklch(61.48% 0.253 330.1)
XYZxyz(37.8557, 19.6240, 57.6597)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12CCA #2CD133
analogous
#852CD1 #D12CCA #D12C78
triadic
#D12CCA #CAD12C #2CCAD1
tetradic
#D12CCA #D1852C #2CD133 #2C78D1
square
#D12CCA #D1852C #2CD133 #2C78D1
split-complementary
#D12CCA #78D12C #2CD185
monochromatic
#6C1768 #9E2199 #D12CCA #DD5DD8 #E890E4

Accessibility & contrast

On white

4.26
#D12CCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#D12CCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D12CCA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12CCA#FFFFFF#000000##000000
##D12CCA1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#096CCE
Deuteranopia (green-blind)
#6282C6
Tritanopia (blue-blind)
#D9467C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d12cca;
/* rgb */ color: rgb(209, 44, 202);
/* oklch */ color: oklch(61.5% 0.253 330.1);
Tailwind
colors: {
  custom: {
    50: '#e37adb',
    500: '#d12cca',
    950: '#000000',
  },
}
SCSS
$custom: #d12cca;
$custom-light: #e37adb;
$custom-dark: #000000;
JSON
{
  "hex": "#d12cca",
  "rgb": {
    "r": 209,
    "g": 44,
    "b": 202
  },
  "hsl": {
    "h": 302.545,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61478,
    "c": 0.25273,
    "h": 330.1
  },
  "luminance": 0.19621
}

Semantic roles & 50–950 ramp

primary
#D12CCA
secondary
#87D28A
accent
#E84740
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D12CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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