#D742CB#D742CB

#D742CB is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.1% C 0.235 H 331.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#D742CB
RGBrgb(215, 66, 203)
HSLhsl(305, 65%, 55%)
HSVhsv(305, 69%, 84%)
CMYKcmyk(0%, 69.3%, 5.6%, 15.7%)
CIE-LABlab(54.72, 72.21, -40.86)
CIE-LCHlch(54.72, 82.97, 330.49°)
OKLaboklab(64.05% 0.2062 -0.1124)
OKLCHoklch(64.05% 0.235 331.4)
XYZxyz(40.7520, 22.6585, 58.7155)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D742CB #42D74E
analogous
#9842D7 #D742CB #D74281
triadic
#D742CB #CBD742 #42CBD7
tetradic
#D742CB #D79842 #42D74E #4281D7
square
#D742CB #D79842 #42D74E #4281D7
split-complementary
#D742CB #81D742 #42D798
monochromatic
#831C7B #B526AA #D742CB #E275D9 #ECA7E7

Accessibility & contrast

On white

3.80
#D742CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#D742CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D742CB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D742CB#FFFFFF#000000##000000
##D742CB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776CF
Deuteranopia (green-blind)
#6F8AC7
Tritanopia (blue-blind)
#E05382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d742cb;
/* rgb */ color: rgb(215, 66, 203);
/* oklch */ color: oklch(64.1% 0.235 331.4);
Tailwind
colors: {
  custom: {
    50: '#e783db',
    500: '#d742cb',
    950: '#000000',
  },
}
SCSS
$custom: #d742cb;
$custom-light: #e783db;
$custom-dark: #000000;
JSON
{
  "hex": "#d742cb",
  "rgb": {
    "r": 215,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 304.832,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.64051,
    "c": 0.23487,
    "h": 331.4
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

primary
#D742CB
secondary
#9BDAA0
accent
#E84D40
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D742CB

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

Preview Lab → · Contrast checker → · Palette generator →

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