#D742D2#D742D2

#D742D2 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.4% C 0.240 H 329.4°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#D742D2
RGBrgb(215, 66, 210)
HSLhsl(302, 65%, 55%)
HSVhsv(302, 69%, 84%)
CMYKcmyk(0%, 69.3%, 2.3%, 15.7%)
CIE-LABlab(55.07, 73.30, -44.30)
CIE-LCHlch(55.07, 85.64, 328.85°)
OKLaboklab(64.42% 0.2065 -0.1223)
OKLCHoklch(64.42% 0.24 329.4)
XYZxyz(41.6051, 22.9997, 63.2084)
Luminance0.2300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742D2 #42D747
analogous
#9142D7 #D742D2 #D74288
triadic
#D742D2 #D2D742 #42D2D7
tetradic
#D742D2 #D79142 #42D747 #4288D7
square
#D742D2 #D79142 #42D747 #4288D7
split-complementary
#D742D2 #88D742 #42D791
monochromatic
#831C7F #B526B1 #D742D2 #E275DE #ECA7EA

Accessibility & contrast

On white

3.75
#D742D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#D742D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742D2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742D2#FFFFFF#000000##000000
##D742D21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d742d2;
/* rgb */ color: rgb(215, 66, 210);
/* oklch */ color: oklch(64.4% 0.240 329.4);
Tailwind
colors: {
  custom: {
    50: '#e783e0',
    500: '#d742d2',
    950: '#000000',
  },
}
SCSS
$custom: #d742d2;
$custom-light: #e783e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d742d2",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 302.013,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6442,
    "c": 0.24005,
    "h": 329.4
  },
  "luminance": 0.22997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D742D2

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

Preview Lab → · Contrast checker → · Palette generator →

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