#D142D7#D142D7

#D142D7 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.8% C 0.241 H 326.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#D142D7
RGBrgb(209, 66, 215)
HSLhsl(298, 65%, 55%)
HSVhsv(298, 69%, 84%)
CMYKcmyk(2.8%, 69.3%, 0%, 15.7%)
CIE-LABlab(54.41, 72.79, -48.26)
CIE-LCHlch(54.41, 87.34, 326.46°)
OKLaboklab(63.85% 0.2003 -0.134)
OKLCHoklch(63.85% 0.241 326.2)
XYZxyz(40.5077, 22.3607, 66.4593)
Luminance0.2236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142D7 #48D742
analogous
#8742D7 #D142D7 #D74292
triadic
#D142D7 #D7D142 #42D7D1
tetradic
#D142D7 #D78742 #48D742 #4292D7
square
#D142D7 #D78742 #48D742 #4292D7
split-complementary
#D142D7 #92D742 #42D787
monochromatic
#7F1C83 #B026B5 #D142D7 #DD75E2 #EAA7EC

Accessibility & contrast

On white

3.84
#D142D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#D142D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142D7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142D7#FFFFFF#000000##000000
##D142D71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2177DB
Deuteranopia (green-blind)
#6488D3
Tritanopia (blue-blind)
#D65988
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d142d7;
/* rgb */ color: rgb(209, 66, 215);
/* oklch */ color: oklch(63.8% 0.241 326.2);
Tailwind
colors: {
  custom: {
    50: '#e383e4',
    500: '#d142d7',
    950: '#000000',
  },
}
SCSS
$custom: #d142d7;
$custom-light: #e383e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d142d7",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 297.584,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63847,
    "c": 0.24098,
    "h": 326.2
  },
  "luminance": 0.22358
}

Semantic roles & 50–950 ramp

primary
#D142D7
secondary
#9EDA9B
accent
#E84047
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D142D7

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

Preview Lab → · Contrast checker → · Palette generator →

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