#D74DCB#D74DCB

#D74DCB is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.1% C 0.222 H 331.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#D74DCB
RGBrgb(215, 77, 203)
HSLhsl(305, 63%, 57%)
HSVhsv(305, 64%, 84%)
CMYKcmyk(0%, 64.2%, 5.6%, 15.7%)
CIE-LABlab(56.16, 68.17, -38.60)
CIE-LCHlch(56.16, 78.34, 330.48°)
OKLaboklab(65.09% 0.1946 -0.1059)
OKLCHoklch(65.09% 0.222 331.4)
XYZxyz(41.4576, 24.0697, 58.9507)
Luminance0.2407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74DCB #4DD759
analogous
#9E4DD7 #D74DCB #D74D86
triadic
#D74DCB #CBD74D #4DCBD7
tetradic
#D74DCB #D79E4D #4DD759 #4D86D7
square
#D74DCB #D79E4D #4DD759 #4D86D7
split-complementary
#D74DCB #86D74D #4DD79E
monochromatic
#8A1F81 #BC2AB0 #D74DCB #E27FDA #EDB1E8

Accessibility & contrast

On white

3.61
#D74DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#D74DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74DCB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74DCB#FFFFFF#000000##000000
##D74DCB1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACF
Deuteranopia (green-blind)
#758EC7
Tritanopia (blue-blind)
#DF5B85
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d74dcb;
/* rgb */ color: rgb(215, 77, 203);
/* oklch */ color: oklch(65.1% 0.222 331.4);
Tailwind
colors: {
  custom: {
    50: '#e788db',
    500: '#d74dcb',
    950: '#000000',
  },
}
SCSS
$custom: #d74dcb;
$custom-light: #e788db;
$custom-dark: #000000;
JSON
{
  "hex": "#d74dcb",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 305.217,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65092,
    "c": 0.22154,
    "h": 331.4
  },
  "luminance": 0.24067
}

Semantic roles & 50–950 ramp

primary
#D74DCB
secondary
#A4DCA9
accent
#E65041
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D74DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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