#D740CE#D740CE

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

Color values

HEX#D740CE
RGBrgb(215, 64, 206)
HSLhsl(304, 65%, 55%)
HSVhsv(304, 70%, 84%)
CMYKcmyk(0%, 70.2%, 4.2%, 15.7%)
CIE-LABlab(54.63, 73.35, -42.72)
CIE-LCHlch(54.63, 84.88, 329.78°)
OKLaboklab(64.04% 0.2083 -0.1177)
OKLCHoklch(64.04% 0.239 330.5)
XYZxyz(40.9982, 22.5733, 60.5783)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740CE #40D749
analogous
#9440D7 #D740CE #D74083
triadic
#D740CE #CED740 #40CED7
tetradic
#D740CE #D79440 #40D749 #4083D7
square
#D740CE #D79440 #40D749 #4083D7
split-complementary
#D740CE #83D740 #40D794
monochromatic
#811B7B #B426AC #D740CE #E273DB #ECA5E8

Accessibility & contrast

On white

3.81
#D740CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#D740CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740CE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740CE#FFFFFF#000000##000000
##D740CE1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D2
Deuteranopia (green-blind)
#6D8ACA
Tritanopia (blue-blind)
#DF5383
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d740ce;
/* rgb */ color: rgb(215, 64, 206);
/* oklch */ color: oklch(64.0% 0.239 330.5);
Tailwind
colors: {
  custom: {
    50: '#e782dd',
    500: '#d740ce',
    950: '#000000',
  },
}
SCSS
$custom: #d740ce;
$custom-light: #e782dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d740ce",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 303.576,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.64036,
    "c": 0.23929,
    "h": 330.5
  },
  "luminance": 0.2257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D740CE

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

Preview Lab → · Contrast checker → · Palette generator →

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