#D742D3#D742D3

#D742D3 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.5% C 0.241 H 329.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#D742D3
RGBrgb(215, 66, 211)
HSLhsl(302, 65%, 55%)
HSVhsv(302, 69%, 84%)
CMYKcmyk(0%, 69.3%, 1.9%, 15.7%)
CIE-LABlab(55.12, 73.45, -44.79)
CIE-LCHlch(55.12, 86.03, 328.63°)
OKLaboklab(64.47% 0.2066 -0.1237)
OKLCHoklch(64.47% 0.241 329.1)
XYZxyz(41.7300, 23.0497, 63.8665)
Luminance0.2305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742D3 #42D746
analogous
#9142D7 #D742D3 #D74288
triadic
#D742D3 #D3D742 #42D3D7
tetradic
#D742D3 #D79142 #42D746 #4288D7
square
#D742D3 #D79142 #42D746 #4288D7
split-complementary
#D742D3 #88D742 #42D791
monochromatic
#831C80 #B526B2 #D742D3 #E275DF #ECA7EB

Accessibility & contrast

On white

3.74
#D742D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#D742D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742D3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742D3#FFFFFF#000000##000000
##D742D31.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E77D7
Deuteranopia (green-blind)
#6B8BCF
Tritanopia (blue-blind)
#DE5686
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d742d3;
/* rgb */ color: rgb(215, 66, 211);
/* oklch */ color: oklch(64.5% 0.241 329.1);
Tailwind
colors: {
  custom: {
    50: '#e783e1',
    500: '#d742d3',
    950: '#000000',
  },
}
SCSS
$custom: #d742d3;
$custom-light: #e783e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d742d3",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 301.611,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.64474,
    "c": 0.24079,
    "h": 329.1
  },
  "luminance": 0.23047
}

Semantic roles & 50–950 ramp

primary
#D742D3
secondary
#9BDA9D
accent
#E84440
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D742D3

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

Preview Lab → · Contrast checker → · Palette generator →

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