#D142CF#D142CF

#D142CF is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.4% C 0.235 H 328.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#D142CF
RGBrgb(209, 66, 207)
HSLhsl(301, 61%, 54%)
HSVhsv(301, 68%, 82%)
CMYKcmyk(0%, 68.4%, 1%, 18%)
CIE-LABlab(53.98, 71.49, -44.37)
CIE-LCHlch(53.98, 84.14, 328.17°)
OKLaboklab(63.41% 0.2002 -0.1227)
OKLCHoklch(63.41% 0.235 328.5)
XYZxyz(39.5048, 21.9596, 61.1773)
Luminance0.2196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D142CF #42D144
analogous
#8C42D1 #D142CF #D14288
triadic
#D142CF #CFD142 #42CFD1
tetradic
#D142CF #D18C42 #42D144 #4288D1
square
#D142CF #D18C42 #42D144 #4288D1
split-complementary
#D142CF #88D142 #42D18C
monochromatic
#7B1E79 #AC2AAA #D142CF #DD73DC #E9A4E8

Accessibility & contrast

On white

3.90
#D142CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#D142CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D142CF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D142CF#FFFFFF#000000##000000
##D142CF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#6888CB
Tritanopia (blue-blind)
#D85684
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d142cf;
/* rgb */ color: rgb(209, 66, 207);
/* oklch */ color: oklch(63.4% 0.235 328.5);
Tailwind
colors: {
  custom: {
    50: '#e383de',
    500: '#d142cf',
    950: '#000000',
  },
}
SCSS
$custom: #d142cf;
$custom-light: #e383de;
$custom-dark: #000000;
JSON
{
  "hex": "#d142cf",
  "rgb": {
    "r": 209,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 300.839,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.63406,
    "c": 0.23481,
    "h": 328.5
  },
  "luminance": 0.21957
}

Semantic roles & 50–950 ramp

primary
#D142CF
secondary
#99D69A
accent
#E44644
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D142CF

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

Preview Lab → · Contrast checker → · Palette generator →

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