#D74BC7#D74BC7

#D74BC7 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.7% C 0.221 H 332.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#D74BC7
RGBrgb(215, 75, 199)
HSLhsl(307, 64%, 57%)
HSVhsv(307, 65%, 84%)
CMYKcmyk(0%, 65.1%, 7.4%, 15.7%)
CIE-LABlab(55.69, 68.31, -37.04)
CIE-LCHlch(55.69, 77.71, 331.53°)
OKLaboklab(64.69% 0.1964 -0.1015)
OKLCHoklch(64.69% 0.221 332.7)
XYZxyz(40.8493, 23.6059, 56.4267)
Luminance0.2360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74BC7 #4BD75B
analogous
#A14BD7 #D74BC7 #D74B81
triadic
#D74BC7 #C7D74B #4BC7D7
tetradic
#D74BC7 #D7A14B #4BD75B #4B81D7
square
#D74BC7 #D7A14B #4BD75B #4B81D7
split-complementary
#D74BC7 #81D74B #4BD7A1
monochromatic
#891E7D #BB2AAB #D74BC7 #E27DD7 #EDAFE6

Accessibility & contrast

On white

3.67
#D74BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#D74BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74BC7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74BC7#FFFFFF#000000##000000
##D74BC71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4679CB
Deuteranopia (green-blind)
#768DC3
Tritanopia (blue-blind)
#E05883
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d74bc7;
/* rgb */ color: rgb(215, 75, 199);
/* oklch */ color: oklch(64.7% 0.221 332.7);
Tailwind
colors: {
  custom: {
    50: '#e787d8',
    500: '#d74bc7',
    950: '#000000',
  },
}
SCSS
$custom: #d74bc7;
$custom-light: #e787d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d74bc7",
  "rgb": {
    "r": 215,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 306.857,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64692,
    "c": 0.22109,
    "h": 332.7
  },
  "luminance": 0.23603
}

Semantic roles & 50–950 ramp

primary
#D74BC7
secondary
#A2DBA9
accent
#E75441
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D74BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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