#D740CB#D740CB

#D740CB is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.9% C 0.237 H 331.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#D740CB
RGBrgb(215, 64, 203)
HSLhsl(305, 65%, 55%)
HSVhsv(305, 70%, 84%)
CMYKcmyk(0%, 70.2%, 5.6%, 15.7%)
CIE-LABlab(54.48, 72.88, -41.24)
CIE-LCHlch(54.48, 83.74, 330.50°)
OKLaboklab(63.88% 0.2082 -0.1135)
OKLCHoklch(63.88% 0.237 331.4)
XYZxyz(40.6372, 22.4289, 58.6772)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740CB #40D74C
analogous
#9740D7 #D740CB #D74080
triadic
#D740CB #CBD740 #40CBD7
tetradic
#D740CB #D79740 #40D74C #4080D7
square
#D740CB #D79740 #40D74C #4080D7
split-complementary
#D740CB #80D740 #40D797
monochromatic
#811B79 #B426A9 #D740CB #E273D9 #ECA5E7

Accessibility & contrast

On white

3.83
#D740CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#D740CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740CB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740CB#FFFFFF#000000##000000
##D740CB1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#6F8AC7
Tritanopia (blue-blind)
#E05181
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d740cb;
/* rgb */ color: rgb(215, 64, 203);
/* oklch */ color: oklch(63.9% 0.237 331.4);
Tailwind
colors: {
  custom: {
    50: '#e782db',
    500: '#d740cb',
    950: '#000000',
  },
}
SCSS
$custom: #d740cb;
$custom-light: #e782db;
$custom-dark: #000000;
JSON
{
  "hex": "#d740cb",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 304.768,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63879,
    "c": 0.23711,
    "h": 331.4
  },
  "luminance": 0.22426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D740CB

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

Preview Lab → · Contrast checker → · Palette generator →

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