#D784FE#D784FE

#D784FE is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.7% C 0.187 H 314.1°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#D784FE
RGBrgb(215, 132, 254)
HSLhsl(281, 98%, 76%)
HSVhsv(281, 48%, 100%)
CMYKcmyk(15.4%, 48%, 0%, 0.4%)
CIE-LABlab(68.10, 52.03, -48.27)
CIE-LCHlch(68.10, 70.97, 317.15°)
OKLaboklab(74.65% 0.13 -0.1343)
OKLCHoklch(74.65% 0.187 314.1)
XYZxyz(54.1621, 38.1067, 98.2489)
Luminance0.3810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D784FE #ABFE84
analogous
#9A84FE #D784FE #FE84E8
triadic
#D784FE #FED784 #84FED7
tetradic
#D784FE #FE9A84 #ABFE84 #84E8FE
square
#D784FE #FE9A84 #ABFE84 #84E8FE
split-complementary
#D784FE #E8FE84 #84FE9A
monochromatic
#B00BFD #C347FE #D784FE #EBC1FE #F5E1FF

Accessibility & contrast

On white

2.44
#D784FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#D784FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D784FE
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D784FE#FFFFFF#000000##000000
##D784FE1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#82A8FB
Tritanopia (blue-blind)
#D497B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d784fe;
/* rgb */ color: rgb(215, 132, 254);
/* oklch */ color: oklch(74.7% 0.187 314.1);
Tailwind
colors: {
  custom: {
    50: '#e5aaff',
    500: '#d784fe',
    950: '#000000',
  },
}
SCSS
$custom: #d784fe;
$custom-light: #e5aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#d784fe",
  "rgb": {
    "r": 215,
    "g": 132,
    "b": 254
  },
  "hsl": {
    "h": 280.82,
    "s": 98.387,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74653,
    "c": 0.18686,
    "h": 314.1
  },
  "luminance": 0.38105
}

Semantic roles & 50–950 ramp

primary
#D784FE
secondary
#DFF7D4
accent
#E60049
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D784FE

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

Preview Lab → · Contrast checker → · Palette generator →

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