#D740D7#D740D7

#D740D7 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.5% C 0.246 H 328.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#D740D7
RGBrgb(215, 64, 215)
HSLhsl(300, 65%, 55%)
HSVhsv(300, 70%, 84%)
CMYKcmyk(0%, 70.2%, 0%, 15.7%)
CIE-LABlab(55.10, 74.76, -47.11)
CIE-LCHlch(55.10, 88.36, 327.78°)
OKLaboklab(64.52% 0.2085 -0.1305)
OKLCHoklch(64.52% 0.246 328)
XYZxyz(42.1229, 23.0232, 66.5021)
Luminance0.2302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740D7 #40D740
analogous
#8C40D7 #D740D7 #D7408C
triadic
#D740D7 #D7D740 #40D7D7
tetradic
#D740D7 #D78C40 #40D740 #408CD7
square
#D740D7 #D78C40 #40D740 #408CD7
split-complementary
#D740D7 #8CD740 #40D78C
monochromatic
#811B81 #B426B4 #D740D7 #E273E2 #ECA5EC

Accessibility & contrast

On white

3.75
#D740D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#D740D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740D7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740D7#FFFFFF#000000##000000
##D740D71.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2577DB
Deuteranopia (green-blind)
#688BD3
Tritanopia (blue-blind)
#DE5788
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d740d7;
/* rgb */ color: rgb(215, 64, 215);
/* oklch */ color: oklch(64.5% 0.246 328.0);
Tailwind
colors: {
  custom: {
    50: '#e783e4',
    500: '#d740d7',
    950: '#000000',
  },
}
SCSS
$custom: #d740d7;
$custom-light: #e783e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d740d7",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 215
  },
  "hsl": {
    "h": 300,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.64522,
    "c": 0.24599,
    "h": 328
  },
  "luminance": 0.2302
}

Semantic roles & 50–950 ramp

primary
#D740D7
secondary
#9AD99A
accent
#E83F3F
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C15
muted
#857D84

Preview Lab

Preview with #D740D7

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

Preview Lab → · Contrast checker → · Palette generator →

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