#D742CF#D742CF

#D742CF is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.3% C 0.238 H 330.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#D742CF
RGBrgb(215, 66, 207)
HSLhsl(303, 65%, 55%)
HSVhsv(303, 69%, 84%)
CMYKcmyk(0%, 69.3%, 3.7%, 15.7%)
CIE-LABlab(54.92, 72.83, -42.83)
CIE-LCHlch(54.92, 84.49, 329.54°)
OKLaboklab(64.26% 0.2064 -0.1181)
OKLCHoklch(64.26% 0.238 330.2)
XYZxyz(41.2348, 22.8516, 61.2584)
Luminance0.2285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742CF #42D74A
analogous
#9442D7 #D742CF #D74285
triadic
#D742CF #CFD742 #42CFD7
tetradic
#D742CF #D79442 #42D74A #4285D7
square
#D742CF #D79442 #42D74A #4285D7
split-complementary
#D742CF #85D742 #42D794
monochromatic
#831C7D #B526AE #D742CF #E275DC #ECA7E9

Accessibility & contrast

On white

3.77
#D742CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#D742CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742CF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742CF#FFFFFF#000000##000000
##D742CF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3376D3
Deuteranopia (green-blind)
#6D8BCB
Tritanopia (blue-blind)
#DF5484
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d742cf;
/* rgb */ color: rgb(215, 66, 207);
/* oklch */ color: oklch(64.3% 0.238 330.2);
Tailwind
colors: {
  custom: {
    50: '#e783de',
    500: '#d742cf',
    950: '#000000',
  },
}
SCSS
$custom: #d742cf;
$custom-light: #e783de;
$custom-dark: #000000;
JSON
{
  "hex": "#d742cf",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 303.221,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.64261,
    "c": 0.23782,
    "h": 330.2
  },
  "luminance": 0.22848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D742CF

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

Preview Lab → · Contrast checker → · Palette generator →

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