#D140CC#D140CC

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

Color values

HEX#D140CC
RGBrgb(209, 64, 204)
HSLhsl(302, 61%, 54%)
HSVhsv(302, 69%, 82%)
CMYKcmyk(0%, 69.4%, 2.4%, 18%)
CIE-LABlab(53.58, 71.70, -43.29)
CIE-LCHlch(53.58, 83.76, 328.88°)
OKLaboklab(63.07% 0.2021 -0.1195)
OKLCHoklch(63.07% 0.235 329.4)
XYZxyz(39.0267, 21.5846, 59.2258)
Luminance0.2158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140CC #40D145
analogous
#8D40D1 #D140CC #D14083
triadic
#D140CC #CCD140 #40CCD1
tetradic
#D140CC #D18D40 #40D145 #4083D1
square
#D140CC #D18D40 #40D145 #4083D1
split-complementary
#D140CC #83D140 #40D18D
monochromatic
#791D76 #AB29A6 #D140CC #DD71D9 #E9A3E6

Accessibility & contrast

On white

3.95
#D140CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D140CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140CC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140CC#FFFFFF#000000##000000
##D140CC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D0
Deuteranopia (green-blind)
#6987C8
Tritanopia (blue-blind)
#D85382
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d140cc;
/* rgb */ color: rgb(209, 64, 204);
/* oklch */ color: oklch(63.1% 0.235 329.4);
Tailwind
colors: {
  custom: {
    50: '#e382dc',
    500: '#d140cc',
    950: '#000000',
  },
}
SCSS
$custom: #d140cc;
$custom-light: #e382dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d140cc",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 302.069,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63068,
    "c": 0.2348,
    "h": 329.4
  },
  "luminance": 0.21582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D140CC

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

Preview Lab → · Contrast checker → · Palette generator →

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