#D742C0#D742C0

#D742C0 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.5% C 0.227 H 334.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D742C0
RGBrgb(215, 66, 192)
HSLhsl(309, 65%, 55%)
HSVhsv(309, 69%, 84%)
CMYKcmyk(0%, 69.3%, 10.7%, 15.7%)
CIE-LABlab(54.19, 70.55, -35.37)
CIE-LCHlch(54.19, 78.92, 333.37°)
OKLaboklab(63.5% 0.2054 -0.0966)
OKLCHoklch(63.5% 0.227 334.8)
XYZxyz(39.4874, 22.1526, 52.0551)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742C0 #42D759
analogous
#A442D7 #D742C0 #D74275
triadic
#D742C0 #C0D742 #42C0D7
tetradic
#D742C0 #D7A442 #42D759 #4275D7
square
#D742C0 #D7A442 #42D759 #4275D7
split-complementary
#D742C0 #75D742 #42D7A4
monochromatic
#831C73 #B5269F #D742C0 #E275D1 #ECA7E2

Accessibility & contrast

On white

3.87
#D742C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D742C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742C0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742C0#FFFFFF#000000##000000
##D742C01.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4173C4
Deuteranopia (green-blind)
#7589BC
Tritanopia (blue-blind)
#E14E7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d742c0;
/* rgb */ color: rgb(215, 66, 192);
/* oklch */ color: oklch(63.5% 0.227 334.8);
Tailwind
colors: {
  custom: {
    50: '#e783d3',
    500: '#d742c0',
    950: '#000000',
  },
}
SCSS
$custom: #d742c0;
$custom-light: #e783d3;
$custom-dark: #000000;
JSON
{
  "hex": "#d742c0",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 309.262,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63496,
    "c": 0.22698,
    "h": 334.8
  },
  "luminance": 0.22149
}

Semantic roles & 50–950 ramp

primary
#D742C0
secondary
#9BDAA5
accent
#E85A40
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D742C0

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

Preview Lab → · Contrast checker → · Palette generator →

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