#D740C7#D740C7

#D740C7 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.7% C 0.234 H 332.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#D740C7
RGBrgb(215, 64, 199)
HSLhsl(306, 65%, 55%)
HSVhsv(306, 70%, 84%)
CMYKcmyk(0%, 70.2%, 7.4%, 15.7%)
CIE-LABlab(54.28, 72.28, -39.26)
CIE-LCHlch(54.28, 82.25, 331.49°)
OKLaboklab(63.67% 0.208 -0.1077)
OKLCHoklch(63.67% 0.234 332.6)
XYZxyz(40.1667, 22.2407, 56.1991)
Luminance0.2224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740C7 #40D750
analogous
#9C40D7 #D740C7 #D7407B
triadic
#D740C7 #C7D740 #40C7D7
tetradic
#D740C7 #D79C40 #40D750 #407BD7
square
#D740C7 #D79C40 #40D750 #407BD7
split-complementary
#D740C7 #7BD740 #40D79C
monochromatic
#811B77 #B426A5 #D740C7 #E273D6 #ECA5E5

Accessibility & contrast

On white

3.86
#D740C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#D740C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740C7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740C7#FFFFFF#000000##000000
##D740C71.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3974CB
Deuteranopia (green-blind)
#7089C3
Tritanopia (blue-blind)
#E04F7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d740c7;
/* rgb */ color: rgb(215, 64, 199);
/* oklch */ color: oklch(63.7% 0.234 332.6);
Tailwind
colors: {
  custom: {
    50: '#e782d8',
    500: '#d740c7',
    950: '#000000',
  },
}
SCSS
$custom: #d740c7;
$custom-light: #e782d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d740c7",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 306.358,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63672,
    "c": 0.23422,
    "h": 332.6
  },
  "luminance": 0.22237
}

Semantic roles & 50–950 ramp

primary
#D740C7
secondary
#9AD9A0
accent
#E8513F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D740C7

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

Preview Lab → · Contrast checker → · Palette generator →

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