#D142D4#D142D4

#D142D4 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.7% C 0.239 H 327.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D142D4
RGBrgb(209, 66, 212)
HSLhsl(299, 63%, 55%)
HSVhsv(299, 69%, 83%)
CMYKcmyk(1.4%, 68.9%, 0%, 16.9%)
CIE-LABlab(54.25, 72.30, -46.81)
CIE-LCHlch(54.25, 86.13, 327.08°)
OKLaboklab(63.68% 0.2003 -0.1297)
OKLCHoklch(63.68% 0.239 327.1)
XYZxyz(40.1257, 22.2079, 64.4477)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142D4 #45D442
analogous
#8842D4 #D142D4 #D4428E
triadic
#D142D4 #D4D142 #42D4D1
tetradic
#D142D4 #D48842 #45D442 #428ED4
square
#D142D4 #D48842 #45D442 #428ED4
split-complementary
#D142D4 #8ED442 #42D488
monochromatic
#7D1D7F #AE28B1 #D142D4 #DD74DF #E9A6EB

Accessibility & contrast

On white

3.86
#D142D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D142D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142D4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142D4#FFFFFF#000000##000000
##D142D41.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2676D8
Deuteranopia (green-blind)
#6588D0
Tritanopia (blue-blind)
#D75887
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d142d4;
/* rgb */ color: rgb(209, 66, 212);
/* oklch */ color: oklch(63.7% 0.239 327.1);
Tailwind
colors: {
  custom: {
    50: '#e383e2',
    500: '#d142d4',
    950: '#000000',
  },
}
SCSS
$custom: #d142d4;
$custom-light: #e383e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d142d4",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 298.767,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6368,
    "c": 0.23865,
    "h": 327.1
  },
  "luminance": 0.22205
}

Semantic roles & 50–950 ramp

primary
#D142D4
secondary
#9BD89A
accent
#E64245
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D142D4

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

Preview Lab → · Contrast checker → · Palette generator →

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