#D742C1#D742C1

#D742C1 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.5% C 0.228 H 334.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D742C1
RGBrgb(215, 66, 193)
HSLhsl(309, 65%, 55%)
HSVhsv(309, 69%, 84%)
CMYKcmyk(0%, 69.3%, 10.2%, 15.7%)
CIE-LABlab(54.24, 70.70, -35.87)
CIE-LCHlch(54.24, 79.28, 333.10°)
OKLaboklab(63.54% 0.2055 -0.098)
OKLCHoklch(63.54% 0.228 334.5)
XYZxyz(39.5986, 22.1971, 52.6407)
Luminance0.2219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742C1 #42D758
analogous
#A242D7 #D742C1 #D74276
triadic
#D742C1 #C1D742 #42C1D7
tetradic
#D742C1 #D7A242 #42D758 #4276D7
square
#D742C1 #D7A242 #42D758 #4276D7
split-complementary
#D742C1 #76D742 #42D7A2
monochromatic
#831C74 #B526A0 #D742C1 #E275D2 #ECA7E2

Accessibility & contrast

On white

3.86
#D742C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D742C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742C1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742C1#FFFFFF#000000##000000
##D742C11.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4074C5
Deuteranopia (green-blind)
#748ABD
Tritanopia (blue-blind)
#E14E7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d742c1;
/* rgb */ color: rgb(215, 66, 193);
/* oklch */ color: oklch(63.5% 0.228 334.5);
Tailwind
colors: {
  custom: {
    50: '#e783d4',
    500: '#d742c1',
    950: '#000000',
  },
}
SCSS
$custom: #d742c1;
$custom-light: #e783d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d742c1",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 308.859,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63545,
    "c": 0.22768,
    "h": 334.5
  },
  "luminance": 0.22194
}

Semantic roles & 50–950 ramp

primary
#D742C1
secondary
#9BDAA4
accent
#E85940
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D742C1

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

Preview Lab → · Contrast checker → · Palette generator →

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