#D74FE3#D74FE3

#D74FE3 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.6% C 0.238 H 324.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#D74FE3
RGBrgb(215, 79, 227)
HSLhsl(295, 73%, 60%)
HSVhsv(295, 65%, 89%)
CMYKcmyk(5.3%, 65.2%, 0%, 11%)
CIE-LABlab(57.64, 71.36, -49.85)
CIE-LCHlch(57.64, 87.04, 325.06°)
OKLaboklab(66.56% 0.1936 -0.1385)
OKLCHoklch(66.56% 0.238 324.4)
XYZxyz(44.6843, 25.5877, 75.2435)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74FE3 #5BE34F
analogous
#8D4FE3 #D74FE3 #E34FA5
triadic
#D74FE3 #E3D74F #4FE3D7
tetradic
#D74FE3 #E38D4F #5BE34F #4FA5E3
square
#D74FE3 #E38D4F #5BE34F #4FA5E3
split-complementary
#D74FE3 #A5E34F #4FE38D
monochromatic
#94199E #C522D3 #D74FE3 #E384EB #EFB9F4

Accessibility & contrast

On white

3.43
#D74FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#D74FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74FE3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74FE3#FFFFFF#000000##000000
##D74FE31.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F80E7
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#DB6693
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d74fe3;
/* rgb */ color: rgb(215, 79, 227);
/* oklch */ color: oklch(66.6% 0.238 324.4);
Tailwind
colors: {
  custom: {
    50: '#e78aec',
    500: '#d74fe3',
    950: '#000000',
  },
}
SCSS
$custom: #d74fe3;
$custom-light: #e78aec;
$custom-dark: #000000;
JSON
{
  "hex": "#d74fe3",
  "rgb": {
    "r": 215,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 295.135,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.66558,
    "c": 0.23805,
    "h": 324.4
  },
  "luminance": 0.25585
}

Semantic roles & 50–950 ramp

primary
#D74FE3
secondary
#AFE3AA
accent
#EF3947
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D74FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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