#D740CD#D740CD

#D740CD is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 64.0% C 0.239 H 330.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#D740CD
RGBrgb(215, 64, 205)
HSLhsl(304, 65%, 55%)
HSVhsv(304, 70%, 84%)
CMYKcmyk(0%, 70.2%, 4.7%, 15.7%)
CIE-LABlab(54.58, 73.19, -42.23)
CIE-LCHlch(54.58, 84.50, 330.02°)
OKLaboklab(63.98% 0.2083 -0.1163)
OKLCHoklch(63.98% 0.239 330.8)
XYZxyz(40.8771, 22.5248, 59.9406)
Luminance0.2252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740CD #40D74A
analogous
#9640D7 #D740CD #D74081
triadic
#D740CD #CDD740 #40CDD7
tetradic
#D740CD #D79640 #40D74A #4081D7
square
#D740CD #D79640 #40D74A #4081D7
split-complementary
#D740CD #81D740 #40D796
monochromatic
#811B7B #B426AB #D740CD #E273DA #ECA5E7

Accessibility & contrast

On white

3.82
#D740CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#D740CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740CD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740CD#FFFFFF#000000##000000
##D740CD1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3275D1
Deuteranopia (green-blind)
#6E8AC9
Tritanopia (blue-blind)
#DF5282
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d740cd;
/* rgb */ color: rgb(215, 64, 205);
/* oklch */ color: oklch(64.0% 0.239 330.8);
Tailwind
colors: {
  custom: {
    50: '#e782dd',
    500: '#d740cd',
    950: '#000000',
  },
}
SCSS
$custom: #d740cd;
$custom-light: #e782dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d740cd",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 303.974,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63983,
    "c": 0.23856,
    "h": 330.8
  },
  "luminance": 0.22522
}

Semantic roles & 50–950 ramp

primary
#D740CD
secondary
#9AD99E
accent
#E84B3F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D740CD

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

Preview Lab → · Contrast checker → · Palette generator →

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