#D140DF#D140DF

#D140DF is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 64.1% C 0.249 H 324.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D140DF
RGBrgb(209, 64, 223)
HSLhsl(295, 71%, 56%)
HSVhsv(295, 71%, 87%)
CMYKcmyk(6.3%, 71.3%, 0%, 12.5%)
CIE-LABlab(54.61, 74.81, -52.48)
CIE-LCHlch(54.61, 91.38, 324.95°)
OKLaboklab(64.13% 0.2021 -0.1462)
OKLCHoklch(64.13% 0.249 324.1)
XYZxyz(41.4460, 22.5524, 71.9677)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140DF #4EDF40
analogous
#8240DF #D140DF #DF409E
triadic
#D140DF #DFD140 #40DFD1
tetradic
#D140DF #DF8240 #4EDF40 #409EDF
square
#D140DF #DF8240 #4EDF40 #409EDF
split-complementary
#D140DF #9EDF40 #40DF82
monochromatic
#83188D #B320C1 #D140DF #DE74E8 #EAA9F1

Accessibility & contrast

On white

3.81
#D140DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#D140DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140DF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140DF#FFFFFF#000000##000000
##D140DF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E3
Deuteranopia (green-blind)
#5D88DB
Tritanopia (blue-blind)
#D55C8C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d140df;
/* rgb */ color: rgb(209, 64, 223);
/* oklch */ color: oklch(64.1% 0.249 324.1);
Tailwind
colors: {
  custom: {
    50: '#e382ea',
    500: '#d140df',
    950: '#000000',
  },
}
SCSS
$custom: #d140df;
$custom-light: #e382ea;
$custom-dark: #000000;
JSON
{
  "hex": "#d140df",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 223
  },
  "hsl": {
    "h": 294.717,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64133,
    "c": 0.24942,
    "h": 324.1
  },
  "luminance": 0.2255
}

Semantic roles & 50–950 ramp

primary
#D140DF
secondary
#A2DE9D
accent
#EE3A4A
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D140DF

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

Preview Lab → · Contrast checker → · Palette generator →

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