#D140CD#D140CD

#D140CD is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.1% C 0.236 H 329.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#D140CD
RGBrgb(209, 64, 205)
HSLhsl(302, 61%, 54%)
HSVhsv(302, 69%, 82%)
CMYKcmyk(0%, 69.4%, 1.9%, 18%)
CIE-LABlab(53.64, 71.86, -43.78)
CIE-LCHlch(53.64, 84.15, 328.65°)
OKLaboklab(63.12% 0.2021 -0.1209)
OKLCHoklch(63.12% 0.236 329.1)
XYZxyz(39.1470, 21.6328, 59.8595)
Luminance0.2163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140CD #40D144
analogous
#8C40D1 #D140CD #D14084
triadic
#D140CD #CDD140 #40CDD1
tetradic
#D140CD #D18C40 #40D144 #4084D1
square
#D140CD #D18C40 #40D144 #4084D1
split-complementary
#D140CD #84D140 #40D18C
monochromatic
#791D77 #AB29A7 #D140CD #DD71DA #E9A3E7

Accessibility & contrast

On white

3.94
#D140CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#D140CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140CD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140CD#FFFFFF#000000##000000
##D140CD1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#6887C9
Tritanopia (blue-blind)
#D85482
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d140cd;
/* rgb */ color: rgb(209, 64, 205);
/* oklch */ color: oklch(63.1% 0.236 329.1);
Tailwind
colors: {
  custom: {
    50: '#e382dd',
    500: '#d140cd',
    950: '#000000',
  },
}
SCSS
$custom: #d140cd;
$custom-light: #e382dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d140cd",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 301.655,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63122,
    "c": 0.23555,
    "h": 329.1
  },
  "luminance": 0.2163
}

Semantic roles & 50–950 ramp

primary
#D140CD
secondary
#97D599
accent
#E44844
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D140CD

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

Preview Lab → · Contrast checker → · Palette generator →

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