#D74DE2#D74DE2

#D74DE2 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.3% C 0.240 H 324.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#D74DE2
RGBrgb(215, 77, 226)
HSLhsl(296, 72%, 59%)
HSVhsv(296, 66%, 89%)
CMYKcmyk(4.9%, 65.9%, 0%, 11.4%)
CIE-LABlab(57.32, 71.95, -49.81)
CIE-LCHlch(57.32, 87.51, 325.31°)
OKLaboklab(66.31% 0.1957 -0.1384)
OKLCHoklch(66.31% 0.24 324.7)
XYZxyz(44.4046, 25.2485, 74.4713)
Luminance0.2525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74DE2 #58E24D
analogous
#8C4DE2 #D74DE2 #E24DA3
triadic
#D74DE2 #E2D74D #4DE2D7
tetradic
#D74DE2 #E28C4D #58E24D #4DA3E2
square
#D74DE2 #E28C4D #58E24D #4DA3E2
split-complementary
#D74DE2 #A3E24D #4DE28C
monochromatic
#92199B #C322D0 #D74DE2 #E382EB #EFB6F3

Accessibility & contrast

On white

3.47
#D74DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#D74DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74DE2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74DE2#FFFFFF#000000##000000
##D74DE21.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7FE6
Deuteranopia (green-blind)
#698FDE
Tritanopia (blue-blind)
#DB6492
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d74de2;
/* rgb */ color: rgb(215, 77, 226);
/* oklch */ color: oklch(66.3% 0.240 324.7);
Tailwind
colors: {
  custom: {
    50: '#e789ec',
    500: '#d74de2',
    950: '#000000',
  },
}
SCSS
$custom: #d74de2;
$custom-light: #e789ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d74de2",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 295.57,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66306,
    "c": 0.23969,
    "h": 324.7
  },
  "luminance": 0.25246
}

Semantic roles & 50–950 ramp

primary
#D74DE2
secondary
#ADE2A8
accent
#EF3947
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D74DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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