#D740CA#D740CA

#D740CA is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.8% C 0.236 H 331.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#D740CA
RGBrgb(215, 64, 202)
HSLhsl(305, 65%, 55%)
HSVhsv(305, 70%, 84%)
CMYKcmyk(0%, 70.2%, 6%, 15.7%)
CIE-LABlab(54.43, 72.73, -40.74)
CIE-LCHlch(54.43, 83.37, 330.74°)
OKLaboklab(63.83% 0.2081 -0.112)
OKLCHoklch(63.83% 0.236 331.7)
XYZxyz(40.5184, 22.3814, 58.0517)
Luminance0.2238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740CA #40D74D
analogous
#9940D7 #D740CA #D7407E
triadic
#D740CA #CAD740 #40CAD7
tetradic
#D740CA #D79940 #40D74D #407ED7
square
#D740CA #D79940 #40D74D #407ED7
split-complementary
#D740CA #7ED740 #40D799
monochromatic
#811B79 #B426A8 #D740CA #E273D8 #ECA5E6

Accessibility & contrast

On white

3.84
#D740CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#D740CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740CA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740CA#FFFFFF#000000##000000
##D740CA1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#6F8AC6
Tritanopia (blue-blind)
#E05181
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d740ca;
/* rgb */ color: rgb(215, 64, 202);
/* oklch */ color: oklch(63.8% 0.236 331.7);
Tailwind
colors: {
  custom: {
    50: '#e782da',
    500: '#d740ca',
    950: '#000000',
  },
}
SCSS
$custom: #d740ca;
$custom-light: #e782da;
$custom-dark: #000000;
JSON
{
  "hex": "#d740ca",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 305.166,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63827,
    "c": 0.23637,
    "h": 331.7
  },
  "luminance": 0.22378
}

Semantic roles & 50–950 ramp

primary
#D740CA
secondary
#9AD99F
accent
#E84E3F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D740CA

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

Preview Lab → · Contrast checker → · Palette generator →

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