#D742CE#D742CE

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

Color values

HEX#D742CE
RGBrgb(215, 66, 206)
HSLhsl(304, 65%, 55%)
HSVhsv(304, 69%, 84%)
CMYKcmyk(0%, 69.3%, 4.2%, 15.7%)
CIE-LABlab(54.87, 72.67, -42.34)
CIE-LCHlch(54.87, 84.10, 329.77°)
OKLaboklab(64.21% 0.2064 -0.1167)
OKLCHoklch(64.21% 0.237 330.5)
XYZxyz(41.1130, 22.8029, 60.6166)
Luminance0.2280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742CE #42D74B
analogous
#9542D7 #D742CE #D74284
triadic
#D742CE #CED742 #42CED7
tetradic
#D742CE #D79542 #42D74B #4284D7
square
#D742CE #D79542 #42D74B #4284D7
split-complementary
#D742CE #84D742 #42D795
monochromatic
#831C7D #B526AD #D742CE #E275DB #ECA7E8

Accessibility & contrast

On white

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

On black

5.56
#D742CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742CE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742CE#FFFFFF#000000##000000
##D742CE1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3476D2
Deuteranopia (green-blind)
#6E8BCA
Tritanopia (blue-blind)
#DF5483
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d742ce;
/* rgb */ color: rgb(215, 66, 206);
/* oklch */ color: oklch(64.2% 0.237 330.5);
Tailwind
colors: {
  custom: {
    50: '#e783dd',
    500: '#d742ce',
    950: '#000000',
  },
}
SCSS
$custom: #d742ce;
$custom-light: #e783dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d742ce",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 303.624,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.64208,
    "c": 0.23707,
    "h": 330.5
  },
  "luminance": 0.228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D742CE

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

Preview Lab → · Contrast checker → · Palette generator →

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