#D742D0#D742D0

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

Color values

HEX#D742D0
RGBrgb(215, 66, 208)
HSLhsl(303, 65%, 55%)
HSVhsv(303, 69%, 84%)
CMYKcmyk(0%, 69.3%, 3.3%, 15.7%)
CIE-LABlab(54.97, 72.98, -43.32)
CIE-LCHlch(54.97, 84.87, 329.31°)
OKLaboklab(64.31% 0.2065 -0.1195)
OKLCHoklch(64.31% 0.239 329.9)
XYZxyz(41.3575, 22.9007, 61.9043)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742D0 #42D749
analogous
#9442D7 #D742D0 #D74285
triadic
#D742D0 #D0D742 #42D0D7
tetradic
#D742D0 #D79442 #42D749 #4285D7
square
#D742D0 #D79442 #42D749 #4285D7
split-complementary
#D742D0 #85D742 #42D794
monochromatic
#831C7E #B526AF #D742D0 #E275DD #ECA7E9

Accessibility & contrast

On white

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

On black

5.58
#D742D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742D0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742D0#FFFFFF#000000##000000
##D742D01.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3277D4
Deuteranopia (green-blind)
#6D8BCC
Tritanopia (blue-blind)
#DF5584
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d742d0;
/* rgb */ color: rgb(215, 66, 208);
/* oklch */ color: oklch(64.3% 0.239 329.9);
Tailwind
colors: {
  custom: {
    50: '#e783df',
    500: '#d742d0',
    950: '#000000',
  },
}
SCSS
$custom: #d742d0;
$custom-light: #e783df;
$custom-dark: #000000;
JSON
{
  "hex": "#d742d0",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 302.819,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.64314,
    "c": 0.23856,
    "h": 329.9
  },
  "luminance": 0.22898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D742D0

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

Preview Lab → · Contrast checker → · Palette generator →

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