#D740CF#D740CF

#D740CF is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 64.1% C 0.240 H 330.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#D740CF
RGBrgb(215, 64, 207)
HSLhsl(303, 65%, 55%)
HSVhsv(303, 70%, 84%)
CMYKcmyk(0%, 70.2%, 3.7%, 15.7%)
CIE-LABlab(54.68, 73.50, -43.21)
CIE-LCHlch(54.68, 85.26, 329.55°)
OKLaboklab(64.09% 0.2084 -0.1192)
OKLCHoklch(64.09% 0.24 330.2)
XYZxyz(41.1200, 22.6220, 61.2201)
Luminance0.2262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740CF #40D748
analogous
#9440D7 #D740CF #D74083
triadic
#D740CF #CFD740 #40CFD7
tetradic
#D740CF #D79440 #40D748 #4083D7
square
#D740CF #D79440 #40D748 #4083D7
split-complementary
#D740CF #83D740 #40D794
monochromatic
#811B7C #B426AD #D740CF #E273DC #ECA5E8

Accessibility & contrast

On white

3.80
#D740CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#D740CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740CF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740CF#FFFFFF#000000##000000
##D740CF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3076D3
Deuteranopia (green-blind)
#6D8ACB
Tritanopia (blue-blind)
#DF5383
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d740cf;
/* rgb */ color: rgb(215, 64, 207);
/* oklch */ color: oklch(64.1% 0.240 330.2);
Tailwind
colors: {
  custom: {
    50: '#e782de',
    500: '#d740cf',
    950: '#000000',
  },
}
SCSS
$custom: #d740cf;
$custom-light: #e782de;
$custom-dark: #000000;
JSON
{
  "hex": "#d740cf",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 303.179,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.64089,
    "c": 0.24004,
    "h": 330.2
  },
  "luminance": 0.22619
}

Semantic roles & 50–950 ramp

primary
#D740CF
secondary
#9AD99D
accent
#E8483F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D740CF

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

Preview Lab → · Contrast checker → · Palette generator →

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