#D74DD7#D74DD7

#D74DD7 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.7% C 0.231 H 327.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#D74DD7
RGBrgb(215, 77, 215)
HSLhsl(300, 63%, 57%)
HSVhsv(300, 64%, 84%)
CMYKcmyk(0%, 64.2%, 0%, 15.7%)
CIE-LABlab(56.75, 70.11, -44.50)
CIE-LCHlch(56.75, 83.03, 327.60°)
OKLaboklab(65.71% 0.1954 -0.123)
OKLCHoklch(65.71% 0.231 327.8)
XYZxyz(42.9434, 24.6640, 66.7756)
Luminance0.2466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74DD7 #4DD74D
analogous
#924DD7 #D74DD7 #D74D92
triadic
#D74DD7 #D7D74D #4DD7D7
tetradic
#D74DD7 #D7924D #4DD74D #4D92D7
square
#D74DD7 #D7924D #4DD74D #4D92D7
split-complementary
#D74DD7 #92D74D #4DD792
monochromatic
#8A1F8A #BC2ABC #D74DD7 #E27FE2 #EDB1ED

Accessibility & contrast

On white

3.54
#D74DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#D74DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74DD7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74DD7#FFFFFF#000000##000000
##D74DD71.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7DDB
Deuteranopia (green-blind)
#6F8ED3
Tritanopia (blue-blind)
#DD608C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d74dd7;
/* rgb */ color: rgb(215, 77, 215);
/* oklch */ color: oklch(65.7% 0.231 327.8);
Tailwind
colors: {
  custom: {
    50: '#e789e4',
    500: '#d74dd7',
    950: '#000000',
  },
}
SCSS
$custom: #d74dd7;
$custom-light: #e789e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d74dd7",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 300,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6571,
    "c": 0.23086,
    "h": 327.8
  },
  "luminance": 0.24661
}

Semantic roles & 50–950 ramp

primary
#D74DD7
secondary
#A4DCA4
accent
#E64141
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D74DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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