#D740C5#D740C5

#D740C5 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.6% C 0.233 H 333.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D740C5
RGBrgb(215, 64, 197)
HSLhsl(307, 65%, 55%)
HSVhsv(307, 70%, 84%)
CMYKcmyk(0%, 70.2%, 8.4%, 15.7%)
CIE-LABlab(54.18, 71.98, -38.26)
CIE-LCHlch(54.18, 81.51, 332.01°)
OKLaboklab(63.57% 0.2078 -0.1049)
OKLCHoklch(63.57% 0.233 333.2)
XYZxyz(39.9360, 22.1484, 54.9842)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740C5 #40D752
analogous
#9D40D7 #D740C5 #D7407A
triadic
#D740C5 #C5D740 #40C5D7
tetradic
#D740C5 #D79D40 #40D752 #407AD7
square
#D740C5 #D79D40 #40D752 #407AD7
split-complementary
#D740C5 #7AD740 #40D79D
monochromatic
#811B75 #B426A3 #D740C5 #E273D4 #ECA5E4

Accessibility & contrast

On white

3.87
#D740C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D740C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740C5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740C5#FFFFFF#000000##000000
##D740C51.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B74C9
Deuteranopia (green-blind)
#7189C1
Tritanopia (blue-blind)
#E14E7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d740c5;
/* rgb */ color: rgb(215, 64, 197);
/* oklch */ color: oklch(63.6% 0.233 333.2);
Tailwind
colors: {
  custom: {
    50: '#e782d7',
    500: '#d740c5',
    950: '#000000',
  },
}
SCSS
$custom: #d740c5;
$custom-light: #e782d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d740c5",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 307.152,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6357,
    "c": 0.23279,
    "h": 333.2
  },
  "luminance": 0.22145
}

Semantic roles & 50–950 ramp

primary
#D740C5
secondary
#9AD9A1
accent
#E8543F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D740C5

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

Preview Lab → · Contrast checker → · Palette generator →

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