#D742D1#D742D1

#D742D1 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.4% C 0.239 H 329.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#D742D1
RGBrgb(215, 66, 209)
HSLhsl(302, 65%, 55%)
HSVhsv(302, 69%, 84%)
CMYKcmyk(0%, 69.3%, 2.8%, 15.7%)
CIE-LABlab(55.02, 73.14, -43.81)
CIE-LCHlch(55.02, 85.26, 329.08°)
OKLaboklab(64.37% 0.2065 -0.1209)
OKLCHoklch(64.37% 0.239 329.6)
XYZxyz(41.4809, 22.9501, 62.5543)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742D1 #42D748
analogous
#9242D7 #D742D1 #D74287
triadic
#D742D1 #D1D742 #42D1D7
tetradic
#D742D1 #D79242 #42D748 #4287D7
square
#D742D1 #D79242 #42D748 #4287D7
split-complementary
#D742D1 #87D742 #42D792
monochromatic
#831C7F #B526B0 #D742D1 #E275DD #ECA7EA

Accessibility & contrast

On white

3.76
#D742D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#D742D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742D1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742D1#FFFFFF#000000##000000
##D742D11.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3177D5
Deuteranopia (green-blind)
#6C8BCD
Tritanopia (blue-blind)
#DF5585
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d742d1;
/* rgb */ color: rgb(215, 66, 209);
/* oklch */ color: oklch(64.4% 0.239 329.6);
Tailwind
colors: {
  custom: {
    50: '#e783df',
    500: '#d742d1',
    950: '#000000',
  },
}
SCSS
$custom: #d742d1;
$custom-light: #e783df;
$custom-dark: #000000;
JSON
{
  "hex": "#d742d1",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 302.416,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.64367,
    "c": 0.2393,
    "h": 329.6
  },
  "luminance": 0.22947
}

Semantic roles & 50–950 ramp

primary
#D742D1
secondary
#9BDA9E
accent
#E84740
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D742D1

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

Preview Lab → · Contrast checker → · Palette generator →

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