#D140C4#D140C4

#D140C4 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.6% C 0.229 H 331.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#D140C4
RGBrgb(209, 64, 196)
HSLhsl(305, 61%, 54%)
HSVhsv(305, 69%, 82%)
CMYKcmyk(0%, 69.4%, 6.2%, 18%)
CIE-LABlab(53.18, 70.45, -39.33)
CIE-LCHlch(53.18, 80.69, 330.83°)
OKLaboklab(62.65% 0.2017 -0.1081)
OKLCHoklch(62.65% 0.229 331.8)
XYZxyz(38.0917, 21.2106, 54.3017)
Luminance0.2121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D140C4 #40D14D
analogous
#9540D1 #D140C4 #D1407B
triadic
#D140C4 #C4D140 #40C4D1
tetradic
#D140C4 #D19540 #40D14D #407BD1
square
#D140C4 #D19540 #40D14D #407BD1
split-complementary
#D140C4 #7BD140 #40D195
monochromatic
#791D71 #AB299F #D140C4 #DD71D3 #E9A3E2

Accessibility & contrast

On white

4.01
#D140C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#D140C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D140C4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D140C4#FFFFFF#000000##000000
##D140C41.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3772C8
Deuteranopia (green-blind)
#6D86C0
Tritanopia (blue-blind)
#DA507D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d140c4;
/* rgb */ color: rgb(209, 64, 196);
/* oklch */ color: oklch(62.6% 0.229 331.8);
Tailwind
colors: {
  custom: {
    50: '#e381d6',
    500: '#d140c4',
    950: '#000000',
  },
}
SCSS
$custom: #d140c4;
$custom-light: #e381d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d140c4",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 196
  },
  "hsl": {
    "h": 305.379,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62646,
    "c": 0.22885,
    "h": 331.8
  },
  "luminance": 0.21208
}

Semantic roles & 50–950 ramp

primary
#D140C4
secondary
#97D59D
accent
#E45244
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D140C4

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

Preview Lab → · Contrast checker → · Palette generator →

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