#D74CDF#D74CDF

#D74CDF is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.0% C 0.238 H 325.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#D74CDF
RGBrgb(215, 76, 223)
HSLhsl(297, 70%, 59%)
HSVhsv(297, 66%, 87%)
CMYKcmyk(3.6%, 65.9%, 0%, 12.5%)
CIE-LABlab(57.02, 71.82, -48.58)
CIE-LCHlch(57.02, 86.71, 325.92°)
OKLaboklab(66.04% 0.1967 -0.1348)
OKLCHoklch(66.04% 0.238 325.6)
XYZxyz(43.9271, 24.9464, 72.2992)
Luminance0.2494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74CDF #54DF4C
analogous
#8D4CDF #D74CDF #DF4C9D
triadic
#D74CDF #DFD74C #4CDFD7
tetradic
#D74CDF #DF8D4C #54DF4C #4C9DDF
square
#D74CDF #DF8D4C #54DF4C #4C9DDF
split-complementary
#D74CDF #9DDF4C #4CDF8D
monochromatic
#8F1B96 #C124CA #D74CDF #E380E8 #EEB4F2

Accessibility & contrast

On white

3.51
#D74CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#D74CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74CDF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74CDF#FFFFFF#000000##000000
##D74CDF1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7EE3
Deuteranopia (green-blind)
#6A8FDB
Tritanopia (blue-blind)
#DC6290
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d74cdf;
/* rgb */ color: rgb(215, 76, 223);
/* oklch */ color: oklch(66.0% 0.238 325.6);
Tailwind
colors: {
  custom: {
    50: '#e788e9',
    500: '#d74cdf',
    950: '#000000',
  },
}
SCSS
$custom: #d74cdf;
$custom-light: #e788e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d74cdf",
  "rgb": {
    "r": 215,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 296.735,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.66043,
    "c": 0.23847,
    "h": 325.6
  },
  "luminance": 0.24944
}

Semantic roles & 50–950 ramp

primary
#D74CDF
secondary
#A9E0A6
accent
#EC3B45
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D74CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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