#D74FF2#D74FF2

#D74FF2 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.4% C 0.251 H 320.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#D74FF2
RGBrgb(215, 79, 242)
HSLhsl(290, 86%, 63%)
HSVhsv(290, 67%, 95%)
CMYKcmyk(11.2%, 67.4%, 0%, 5.1%)
CIE-LABlab(58.46, 73.99, -56.94)
CIE-LCHlch(58.46, 93.36, 322.42°)
OKLaboklab(67.41% 0.1934 -0.1592)
OKLCHoklch(67.41% 0.251 320.5)
XYZxyz(46.8454, 26.4522, 86.6255)
Luminance0.2645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74FF2 #6AF24F
analogous
#854FF2 #D74FF2 #F24FBC
triadic
#D74FF2 #F2D74F #4FF2D7
tetradic
#D74FF2 #F2854F #6AF24F #4FBCF2
square
#D74FF2 #F2854F #6AF24F #4FBCF2
split-complementary
#D74FF2 #BCF24F #4FF285
monochromatic
#9D0EB9 #CA16EE #D74FF2 #E488F6 #F1C1FA

Accessibility & contrast

On white

3.34
#D74FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#D74FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74FF2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74FF2#FFFFFF#000000##000000
##D74FF21.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D83F7
Deuteranopia (green-blind)
#5F91EE
Tritanopia (blue-blind)
#D86C9B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d74ff2;
/* rgb */ color: rgb(215, 79, 242);
/* oklch */ color: oklch(67.4% 0.251 320.5);
Tailwind
colors: {
  custom: {
    50: '#e78bf7',
    500: '#d74ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d74ff2;
$custom-light: #e78bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d74ff2",
  "rgb": {
    "r": 215,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 290.061,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67412,
    "c": 0.25052,
    "h": 320.5
  },
  "luminance": 0.2645
}

Semantic roles & 50–950 ramp

primary
#D74FF2
secondary
#BBECB1
accent
#E30328
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D74FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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