#D74FE8#D74FE8

#D74FE8 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.8% C 0.242 H 323.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#D74FE8
RGBrgb(215, 79, 232)
HSLhsl(293, 77%, 61%)
HSVhsv(293, 66%, 91%)
CMYKcmyk(7.3%, 65.9%, 0%, 9%)
CIE-LABlab(57.91, 72.22, -52.23)
CIE-LCHlch(57.91, 89.13, 324.13°)
OKLaboklab(66.84% 0.1936 -0.1455)
OKLCHoklch(66.84% 0.242 323.1)
XYZxyz(45.3844, 25.8678, 78.9308)
Luminance0.2586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74FE8 #60E84F
analogous
#8A4FE8 #D74FE8 #E84FAC
triadic
#D74FE8 #E8D74F #4FE8D7
tetradic
#D74FE8 #E88A4F #60E84F #4FACE8
square
#D74FE8 #E88A4F #60E84F #4FACE8
split-complementary
#D74FE8 #ACE84F #4FE88A
monochromatic
#9716A7 #C81DDD #D74FE8 #E385EF #F0BBF6

Accessibility & contrast

On white

3.40
#D74FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#D74FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74FE8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74FE8#FFFFFF#000000##000000
##D74FE81.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2781EC
Deuteranopia (green-blind)
#6691E4
Tritanopia (blue-blind)
#DA6895
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d74fe8;
/* rgb */ color: rgb(215, 79, 232);
/* oklch */ color: oklch(66.8% 0.242 323.1);
Tailwind
colors: {
  custom: {
    50: '#e78af0',
    500: '#d74fe8',
    950: '#000000',
  },
}
SCSS
$custom: #d74fe8;
$custom-light: #e78af0;
$custom-dark: #000000;
JSON
{
  "hex": "#d74fe8",
  "rgb": {
    "r": 215,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 293.333,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66837,
    "c": 0.24217,
    "h": 323.1
  },
  "luminance": 0.25865
}

Semantic roles & 50–950 ramp

primary
#D74FE8
secondary
#B3E6AD
accent
#D90C23
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #D74FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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