#D740C1#D740C1

#D740C1 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.4% C 0.230 H 334.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#D740C1
RGBrgb(215, 64, 193)
HSLhsl(309, 65%, 55%)
HSVhsv(309, 70%, 84%)
CMYKcmyk(0%, 70.2%, 10.2%, 15.7%)
CIE-LABlab(53.99, 71.38, -36.26)
CIE-LCHlch(53.99, 80.06, 333.07°)
OKLaboklab(63.37% 0.2075 -0.0991)
OKLCHoklch(63.37% 0.23 334.5)
XYZxyz(39.4837, 21.9675, 52.6024)
Luminance0.2196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740C1 #40D756
analogous
#A240D7 #D740C1 #D74075
triadic
#D740C1 #C1D740 #40C1D7
tetradic
#D740C1 #D7A240 #40D756 #4075D7
square
#D740C1 #D7A240 #40D756 #4075D7
split-complementary
#D740C1 #75D740 #40D7A2
monochromatic
#811B73 #B4269F #D740C1 #E273D1 #ECA5E2

Accessibility & contrast

On white

3.89
#D740C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#D740C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740C1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740C1#FFFFFF#000000##000000
##D740C11.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C5
Deuteranopia (green-blind)
#7389BD
Tritanopia (blue-blind)
#E14C7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d740c1;
/* rgb */ color: rgb(215, 64, 193);
/* oklch */ color: oklch(63.4% 0.230 334.5);
Tailwind
colors: {
  custom: {
    50: '#e782d4',
    500: '#d740c1',
    950: '#000000',
  },
}
SCSS
$custom: #d740c1;
$custom-light: #e782d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d740c1",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 308.742,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6337,
    "c": 0.22997,
    "h": 334.5
  },
  "luminance": 0.21964
}

Semantic roles & 50–950 ramp

primary
#D740C1
secondary
#9AD9A3
accent
#E8583F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D740C1

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

Preview Lab → · Contrast checker → · Palette generator →

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