#D742C5#D742C5

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

Color values

HEX#D742C5
RGBrgb(215, 66, 197)
HSLhsl(307, 65%, 55%)
HSVhsv(307, 69%, 84%)
CMYKcmyk(0%, 69.3%, 8.4%, 15.7%)
CIE-LABlab(54.43, 71.29, -37.88)
CIE-LCHlch(54.43, 80.73, 332.02°)
OKLaboklab(63.75% 0.2058 -0.1038)
OKLCHoklch(63.75% 0.231 333.2)
XYZxyz(40.0508, 22.3780, 55.0225)
Luminance0.2238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742C5 #42D754
analogous
#9E42D7 #D742C5 #D7427B
triadic
#D742C5 #C5D742 #42C5D7
tetradic
#D742C5 #D79E42 #42D754 #427BD7
square
#D742C5 #D79E42 #42D754 #427BD7
split-complementary
#D742C5 #7BD742 #42D79E
monochromatic
#831C76 #B526A4 #D742C5 #E275D5 #ECA7E4

Accessibility & contrast

On white

3.84
#D742C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D742C5#FFFFFF#000000##000000
##D742C51.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D74C9
Deuteranopia (green-blind)
#728AC1
Tritanopia (blue-blind)
#E1507F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d742c5;
/* rgb */ color: rgb(215, 66, 197);
/* oklch */ color: oklch(63.7% 0.231 333.2);
Tailwind
colors: {
  custom: {
    50: '#e783d7',
    500: '#d742c5',
    950: '#000000',
  },
}
SCSS
$custom: #d742c5;
$custom-light: #e783d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d742c5",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 307.248,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63745,
    "c": 0.23052,
    "h": 333.2
  },
  "luminance": 0.22375
}

Semantic roles & 50–950 ramp

primary
#D742C5
secondary
#9BDAA3
accent
#E85440
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D742C5

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

Preview Lab → · Contrast checker → · Palette generator →

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