#D140D4#D140D4

#D140D4 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.5% C 0.241 H 327.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#D140D4
RGBrgb(209, 64, 212)
HSLhsl(299, 63%, 54%)
HSVhsv(299, 70%, 83%)
CMYKcmyk(1.4%, 69.8%, 0%, 16.9%)
CIE-LABlab(54.00, 72.99, -47.19)
CIE-LCHlch(54.00, 86.92, 327.11°)
OKLaboklab(63.51% 0.2022 -0.1308)
OKLCHoklch(63.51% 0.241 327.1)
XYZxyz(40.0109, 21.9783, 64.4094)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140D4 #43D440
analogous
#8740D4 #D140D4 #D4408D
triadic
#D140D4 #D4D140 #40D4D1
tetradic
#D140D4 #D48740 #43D440 #408DD4
square
#D140D4 #D48740 #43D440 #408DD4
split-complementary
#D140D4 #8DD440 #40D487
monochromatic
#7B1C7D #AD27AF #D140D4 #DD72DF #E9A4EA

Accessibility & contrast

On white

3.89
#D140D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D140D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140D4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140D4#FFFFFF#000000##000000
##D140D41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2275D8
Deuteranopia (green-blind)
#6488D0
Tritanopia (blue-blind)
#D75786
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d140d4;
/* rgb */ color: rgb(209, 64, 212);
/* oklch */ color: oklch(63.5% 0.241 327.1);
Tailwind
colors: {
  custom: {
    50: '#e382e2',
    500: '#d140d4',
    950: '#000000',
  },
}
SCSS
$custom: #d140d4;
$custom-light: #e382e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d140d4",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 212
  },
  "hsl": {
    "h": 298.784,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.63506,
    "c": 0.24087,
    "h": 327.1
  },
  "luminance": 0.21976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D140D4

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

Preview Lab → · Contrast checker → · Palette generator →

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