#D74CE3#D74CE3

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

Color values

HEX#D74CE3
RGBrgb(215, 76, 227)
HSLhsl(295, 73%, 59%)
HSVhsv(295, 67%, 89%)
CMYKcmyk(5.3%, 66.5%, 0%, 11%)
CIE-LABlab(57.24, 72.50, -50.50)
CIE-LCHlch(57.24, 88.35, 325.14°)
OKLaboklab(66.26% 0.1968 -0.1404)
OKLCHoklch(66.26% 0.242 324.5)
XYZxyz(44.4728, 25.1647, 75.1730)
Luminance0.2516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74CE3 #58E34C
analogous
#8C4CE3 #D74CE3 #E34CA4
triadic
#D74CE3 #E3D74C #4CE3D7
tetradic
#D74CE3 #E38C4C #58E34C #4CA4E3
square
#D74CE3 #E38C4C #58E34C #4CA4E3
split-complementary
#D74CE3 #A4E34C #4CE38C
monochromatic
#92189C #C321D1 #D74CE3 #E381EB #EFB6F4

Accessibility & contrast

On white

3.48
#D74CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#D74CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74CE3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74CE3#FFFFFF#000000##000000
##D74CE31.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#297FE7
Deuteranopia (green-blind)
#678FDF
Tritanopia (blue-blind)
#DB6492
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d74ce3;
/* rgb */ color: rgb(215, 76, 227);
/* oklch */ color: oklch(66.3% 0.242 324.5);
Tailwind
colors: {
  custom: {
    50: '#e789ec',
    500: '#d74ce3',
    950: '#000000',
  },
}
SCSS
$custom: #d74ce3;
$custom-light: #e789ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d74ce3",
  "rgb": {
    "r": 215,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 295.232,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66264,
    "c": 0.2417,
    "h": 324.5
  },
  "luminance": 0.25162
}

Semantic roles & 50–950 ramp

primary
#D74CE3
secondary
#ADE3A8
accent
#F03847
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D74CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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