#D742C6#D742C6

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

Color values

HEX#D742C6
RGBrgb(215, 66, 198)
HSLhsl(307, 65%, 55%)
HSVhsv(307, 69%, 84%)
CMYKcmyk(0%, 69.3%, 7.9%, 15.7%)
CIE-LABlab(54.47, 71.44, -38.38)
CIE-LCHlch(54.47, 81.10, 331.76°)
OKLaboklab(63.8% 0.2059 -0.1052)
OKLCHoklch(63.8% 0.231 332.9)
XYZxyz(40.1658, 22.4240, 55.6279)
Luminance0.2242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742C6 #42D753
analogous
#9E42D7 #D742C6 #D7427B
triadic
#D742C6 #C6D742 #42C6D7
tetradic
#D742C6 #D79E42 #42D753 #427BD7
square
#D742C6 #D79E42 #42D753 #427BD7
split-complementary
#D742C6 #7BD742 #42D79E
monochromatic
#831C77 #B526A5 #D742C6 #E275D5 #ECA7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D742C6#FFFFFF#000000##000000
##D742C61.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C75CA
Deuteranopia (green-blind)
#728AC2
Tritanopia (blue-blind)
#E0507F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d742c6;
/* rgb */ color: rgb(215, 66, 198);
/* oklch */ color: oklch(63.8% 0.231 332.9);
Tailwind
colors: {
  custom: {
    50: '#e783d7',
    500: '#d742c6',
    950: '#000000',
  },
}
SCSS
$custom: #d742c6;
$custom-light: #e783d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d742c6",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 306.846,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63795,
    "c": 0.23124,
    "h": 332.9
  },
  "luminance": 0.22421
}

Semantic roles & 50–950 ramp

primary
#D742C6
secondary
#9BDAA2
accent
#E85340
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D742C6

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

Preview Lab → · Contrast checker → · Palette generator →

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