#D742CD#D742CD

#D742CD is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.2% C 0.236 H 330.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#D742CD
RGBrgb(215, 66, 205)
HSLhsl(304, 65%, 55%)
HSVhsv(304, 69%, 84%)
CMYKcmyk(0%, 69.3%, 4.7%, 15.7%)
CIE-LABlab(54.82, 72.51, -41.85)
CIE-LCHlch(54.82, 83.72, 330.01°)
OKLaboklab(64.16% 0.2063 -0.1152)
OKLCHoklch(64.16% 0.236 330.8)
XYZxyz(40.9919, 22.7544, 59.9788)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742CD #42D74C
analogous
#9742D7 #D742CD #D74282
triadic
#D742CD #CDD742 #42CDD7
tetradic
#D742CD #D79742 #42D74C #4282D7
square
#D742CD #D79742 #42D74C #4282D7
split-complementary
#D742CD #82D742 #42D797
monochromatic
#831C7C #B526AC #D742CD #E275DA #ECA7E8

Accessibility & contrast

On white

3.78
#D742CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#D742CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742CD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742CD#FFFFFF#000000##000000
##D742CD1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#6E8AC9
Tritanopia (blue-blind)
#DF5383
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d742cd;
/* rgb */ color: rgb(215, 66, 205);
/* oklch */ color: oklch(64.2% 0.236 330.8);
Tailwind
colors: {
  custom: {
    50: '#e783dd',
    500: '#d742cd',
    950: '#000000',
  },
}
SCSS
$custom: #d742cd;
$custom-light: #e783dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d742cd",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 304.027,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.64155,
    "c": 0.23634,
    "h": 330.8
  },
  "luminance": 0.22751
}

Semantic roles & 50–950 ramp

primary
#D742CD
secondary
#9BDA9F
accent
#E84B40
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D742CD

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

Preview Lab → · Contrast checker → · Palette generator →

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