#D142CD#D142CD

#D142CD is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.3% C 0.233 H 329.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#D142CD
RGBrgb(209, 66, 205)
HSLhsl(302, 61%, 54%)
HSVhsv(302, 68%, 82%)
CMYKcmyk(0%, 68.4%, 1.9%, 18%)
CIE-LABlab(53.88, 71.17, -43.39)
CIE-LCHlch(53.88, 83.35, 328.63°)
OKLaboklab(63.3% 0.2002 -0.1198)
OKLCHoklch(63.3% 0.233 329.1)
XYZxyz(39.2618, 21.8624, 59.8977)
Luminance0.2186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142CD #42D146
analogous
#8E42D1 #D142CD #D14286
triadic
#D142CD #CDD142 #42CDD1
tetradic
#D142CD #D18E42 #42D146 #4286D1
square
#D142CD #D18E42 #42D146 #4286D1
split-complementary
#D142CD #86D142 #42D18E
monochromatic
#7B1E78 #AC2AA8 #D142CD #DD73DA #E9A4E7

Accessibility & contrast

On white

3.91
#D142CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#D142CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142CD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142CD#FFFFFF#000000##000000
##D142CD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3075D1
Deuteranopia (green-blind)
#6987C9
Tritanopia (blue-blind)
#D85583
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d142cd;
/* rgb */ color: rgb(209, 66, 205);
/* oklch */ color: oklch(63.3% 0.233 329.1);
Tailwind
colors: {
  custom: {
    50: '#e382dd',
    500: '#d142cd',
    950: '#000000',
  },
}
SCSS
$custom: #d142cd;
$custom-light: #e382dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d142cd",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 301.678,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.63298,
    "c": 0.23328,
    "h": 329.1
  },
  "luminance": 0.2186
}

Semantic roles & 50–950 ramp

primary
#D142CD
secondary
#99D69B
accent
#E44844
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D142CD

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

Preview Lab → · Contrast checker → · Palette generator →

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