#D742C4#D742C4

#D742C4 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.7% C 0.230 H 333.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#D742C4
RGBrgb(215, 66, 196)
HSLhsl(308, 65%, 55%)
HSVhsv(308, 69%, 84%)
CMYKcmyk(0%, 69.3%, 8.8%, 15.7%)
CIE-LABlab(54.38, 71.14, -37.38)
CIE-LCHlch(54.38, 80.37, 332.28°)
OKLaboklab(63.7% 0.2058 -0.1024)
OKLCHoklch(63.7% 0.23 333.5)
XYZxyz(39.9366, 22.3323, 54.4211)
Luminance0.2233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742C4 #42D755
analogous
#A042D7 #D742C4 #D74279
triadic
#D742C4 #C4D742 #42C4D7
tetradic
#D742C4 #D7A042 #42D755 #4279D7
square
#D742C4 #D7A042 #42D755 #4279D7
split-complementary
#D742C4 #79D742 #42D7A0
monochromatic
#831C76 #B526A3 #D742C4 #E275D4 #ECA7E4

Accessibility & contrast

On white

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

On black

5.47
#D742C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742C4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742C4#FFFFFF#000000##000000
##D742C41.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E74C8
Deuteranopia (green-blind)
#738AC0
Tritanopia (blue-blind)
#E14F7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d742c4;
/* rgb */ color: rgb(215, 66, 196);
/* oklch */ color: oklch(63.7% 0.230 333.5);
Tailwind
colors: {
  custom: {
    50: '#e783d6',
    500: '#d742c4',
    950: '#000000',
  },
}
SCSS
$custom: #d742c4;
$custom-light: #e783d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d742c4",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 307.651,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63695,
    "c": 0.22981,
    "h": 333.5
  },
  "luminance": 0.22329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D742C4

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

Preview Lab → · Contrast checker → · Palette generator →

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