#D740D0#D740D0

#D740D0 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.1% C 0.241 H 329.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#D740D0
RGBrgb(215, 64, 208)
HSLhsl(303, 65%, 55%)
HSVhsv(303, 70%, 84%)
CMYKcmyk(0%, 70.2%, 3.3%, 15.7%)
CIE-LABlab(54.73, 73.66, -43.70)
CIE-LCHlch(54.73, 85.64, 329.32°)
OKLaboklab(64.14% 0.2084 -0.1206)
OKLCHoklch(64.14% 0.241 329.9)
XYZxyz(41.2427, 22.6711, 61.8660)
Luminance0.2267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740D0 #40D747
analogous
#9240D7 #D740D0 #D74085
triadic
#D740D0 #D0D740 #40D0D7
tetradic
#D740D0 #D79240 #40D747 #4085D7
square
#D740D0 #D79240 #40D747 #4085D7
split-complementary
#D740D0 #85D740 #40D792
monochromatic
#811B7D #B426AD #D740D0 #E273DC #ECA5E9

Accessibility & contrast

On white

3.79
#D740D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#D740D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740D0
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740D0#FFFFFF#000000##000000
##D740D01.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F76D4
Deuteranopia (green-blind)
#6C8ACC
Tritanopia (blue-blind)
#DF5384
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d740d0;
/* rgb */ color: rgb(215, 64, 208);
/* oklch */ color: oklch(64.1% 0.241 329.9);
Tailwind
colors: {
  custom: {
    50: '#e782df',
    500: '#d740d0',
    950: '#000000',
  },
}
SCSS
$custom: #d740d0;
$custom-light: #e782df;
$custom-dark: #000000;
JSON
{
  "hex": "#d740d0",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 302.781,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.64142,
    "c": 0.24077,
    "h": 329.9
  },
  "luminance": 0.22668
}

Semantic roles & 50–950 ramp

primary
#D740D0
secondary
#9AD99D
accent
#E8473F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D740D0

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

Preview Lab → · Contrast checker → · Palette generator →

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