#D740C6#D740C6

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

Color values

HEX#D740C6
RGBrgb(215, 64, 198)
HSLhsl(307, 65%, 55%)
HSVhsv(307, 70%, 84%)
CMYKcmyk(0%, 70.2%, 7.9%, 15.7%)
CIE-LABlab(54.23, 72.13, -38.76)
CIE-LCHlch(54.23, 81.88, 331.75°)
OKLaboklab(63.62% 0.2079 -0.1063)
OKLCHoklch(63.62% 0.234 332.9)
XYZxyz(40.0510, 22.1944, 55.5897)
Luminance0.2219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740C6 #40D751
analogous
#9D40D7 #D740C6 #D7407B
triadic
#D740C6 #C6D740 #40C6D7
tetradic
#D740C6 #D79D40 #40D751 #407BD7
square
#D740C6 #D79D40 #40D751 #407BD7
split-complementary
#D740C6 #7BD740 #40D79D
monochromatic
#811B76 #B426A4 #D740C6 #E273D5 #ECA5E4

Accessibility & contrast

On white

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

On black

5.44
#D740C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740C6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740C6#FFFFFF#000000##000000
##D740C61.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A74CA
Deuteranopia (green-blind)
#7189C2
Tritanopia (blue-blind)
#E04F7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d740c6;
/* rgb */ color: rgb(215, 64, 198);
/* oklch */ color: oklch(63.6% 0.234 332.9);
Tailwind
colors: {
  custom: {
    50: '#e782d8',
    500: '#d740c6',
    950: '#000000',
  },
}
SCSS
$custom: #d740c6;
$custom-light: #e782d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d740c6",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 198
  },
  "hsl": {
    "h": 306.755,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63621,
    "c": 0.2335,
    "h": 332.9
  },
  "luminance": 0.22191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D740C6

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

Preview Lab → · Contrast checker → · Palette generator →

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