#D742C7#D742C7

#D742C7 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.8% C 0.232 H 332.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#D742C7
RGBrgb(215, 66, 199)
HSLhsl(306, 65%, 55%)
HSVhsv(306, 69%, 84%)
CMYKcmyk(0%, 69.3%, 7.4%, 15.7%)
CIE-LABlab(54.52, 71.60, -38.88)
CIE-LCHlch(54.52, 81.47, 331.50°)
OKLaboklab(63.85% 0.206 -0.1067)
OKLCHoklch(63.85% 0.232 332.6)
XYZxyz(40.2815, 22.4703, 56.2374)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742C7 #42D752
analogous
#9D42D7 #D742C7 #D7427C
triadic
#D742C7 #C7D742 #42C7D7
tetradic
#D742C7 #D79D42 #42D752 #427CD7
square
#D742C7 #D79D42 #42D752 #427CD7
split-complementary
#D742C7 #7CD742 #42D79D
monochromatic
#831C78 #B526A6 #D742C7 #E275D6 #ECA7E5

Accessibility & contrast

On white

3.82
#D742C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D742C7#FFFFFF#000000##000000
##D742C71.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CB
Deuteranopia (green-blind)
#718AC3
Tritanopia (blue-blind)
#E05180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d742c7;
/* rgb */ color: rgb(215, 66, 199);
/* oklch */ color: oklch(63.8% 0.232 332.6);
Tailwind
colors: {
  custom: {
    50: '#e783d8',
    500: '#d742c7',
    950: '#000000',
  },
}
SCSS
$custom: #d742c7;
$custom-light: #e783d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d742c7",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 306.443,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63846,
    "c": 0.23196,
    "h": 332.6
  },
  "luminance": 0.22467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D742C7

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

Preview Lab → · Contrast checker → · Palette generator →

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