#D742BF#D742BF

#D742BF is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.4% C 0.226 H 335.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D742BF
RGBrgb(215, 66, 191)
HSLhsl(310, 65%, 55%)
HSVhsv(310, 69%, 84%)
CMYKcmyk(0%, 69.3%, 11.2%, 15.7%)
CIE-LABlab(54.14, 70.40, -34.87)
CIE-LCHlch(54.14, 78.56, 333.65°)
OKLaboklab(63.45% 0.2053 -0.0951)
OKLCHoklch(63.45% 0.226 335.1)
XYZxyz(39.3770, 22.1085, 51.4736)
Luminance0.2210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742BF #42D75A
analogous
#A442D7 #D742BF #D74275
triadic
#D742BF #BFD742 #42BFD7
tetradic
#D742BF #D7A442 #42D75A #4275D7
square
#D742BF #D7A442 #42D75A #4275D7
split-complementary
#D742BF #75D742 #42D7A4
monochromatic
#831C72 #B5269E #D742BF #E275D0 #ECA7E1

Accessibility & contrast

On white

3.87
#D742BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D742BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742BF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742BF#FFFFFF#000000##000000
##D742BF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4273C3
Deuteranopia (green-blind)
#7589BB
Tritanopia (blue-blind)
#E14D7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d742bf;
/* rgb */ color: rgb(215, 66, 191);
/* oklch */ color: oklch(63.4% 0.226 335.1);
Tailwind
colors: {
  custom: {
    50: '#e783d2',
    500: '#d742bf',
    950: '#000000',
  },
}
SCSS
$custom: #d742bf;
$custom-light: #e783d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d742bf",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 309.664,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63447,
    "c": 0.22628,
    "h": 335.1
  },
  "luminance": 0.22105
}

Semantic roles & 50–950 ramp

primary
#D742BF
secondary
#9BDAA5
accent
#E85B40
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D742BF

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

Preview Lab → · Contrast checker → · Palette generator →

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