#D742C9#D742C9

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

Color values

HEX#D742C9
RGBrgb(215, 66, 201)
HSLhsl(306, 65%, 55%)
HSVhsv(306, 69%, 84%)
CMYKcmyk(0%, 69.3%, 6.5%, 15.7%)
CIE-LABlab(54.62, 71.90, -39.87)
CIE-LCHlch(54.62, 82.21, 330.99°)
OKLaboklab(63.95% 0.2061 -0.1095)
OKLCHoklch(63.95% 0.233 332)
XYZxyz(40.5152, 22.5638, 57.4684)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742C9 #42D750
analogous
#9B42D7 #D742C9 #D7427E
triadic
#D742C9 #C9D742 #42C9D7
tetradic
#D742C9 #D79B42 #42D750 #427ED7
square
#D742C9 #D79B42 #42D750 #427ED7
split-complementary
#D742C9 #7ED742 #42D79B
monochromatic
#831C79 #B526A8 #D742C9 #E275D7 #ECA7E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D742C9#FFFFFF#000000##000000
##D742C91.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)
#3975CD
Deuteranopia (green-blind)
#708AC5
Tritanopia (blue-blind)
#E05281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d742c9;
/* rgb */ color: rgb(215, 66, 201);
/* oklch */ color: oklch(63.9% 0.233 332.0);
Tailwind
colors: {
  custom: {
    50: '#e783da',
    500: '#d742c9',
    950: '#000000',
  },
}
SCSS
$custom: #d742c9;
$custom-light: #e783da;
$custom-dark: #000000;
JSON
{
  "hex": "#d742c9",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 305.638,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63948,
    "c": 0.23341,
    "h": 332
  },
  "luminance": 0.22561
}

Semantic roles & 50–950 ramp

primary
#D742C9
secondary
#9BDAA1
accent
#E85040
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C15
muted
#847D83

Preview Lab

Preview with #D742C9

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

Preview Lab → · Contrast checker → · Palette generator →

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