#D784F8#D784F8

#D784F8 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.4% C 0.180 H 315.7°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#D784F8
RGBrgb(215, 132, 248)
HSLhsl(283, 89%, 75%)
HSVhsv(283, 47%, 97%)
CMYKcmyk(13.3%, 46.8%, 0%, 2.7%)
CIE-LABlab(67.82, 50.81, -45.42)
CIE-LCHlch(67.82, 68.15, 318.20°)
OKLaboklab(74.35% 0.1292 -0.126)
OKLCHoklch(74.35% 0.18 315.7)
XYZxyz(53.2163, 37.7284, 93.2677)
Luminance0.3773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D784F8 #A5F884
analogous
#9D84F8 #D784F8 #F884DF
triadic
#D784F8 #F8D784 #84F8D7
tetradic
#D784F8 #F89D84 #A5F884 #84DFF8
square
#D784F8 #F89D84 #A5F884 #84DFF8
split-complementary
#D784F8 #DFF884 #84F89D
monochromatic
#B110F1 #C44AF5 #D784F8 #EABEFB #F6E2FD

Accessibility & contrast

On white

2.46
#D784F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#D784F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D784F8
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D784F8#FFFFFF#000000##000000
##D784F81.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FC
Deuteranopia (green-blind)
#85A8F5
Tritanopia (blue-blind)
#D595B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d784f8;
/* rgb */ color: rgb(215, 132, 248);
/* oklch */ color: oklch(74.4% 0.180 315.7);
Tailwind
colors: {
  custom: {
    50: '#e5aafb',
    500: '#d784f8',
    950: '#000000',
  },
}
SCSS
$custom: #d784f8;
$custom-light: #e5aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#d784f8",
  "rgb": {
    "r": 215,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 282.931,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74354,
    "c": 0.18047,
    "h": 315.7
  },
  "luminance": 0.37727
}

Semantic roles & 50–950 ramp

primary
#D784F8
secondary
#DFF5D6
accent
#E60041
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D784F8

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

Preview Lab → · Contrast checker → · Palette generator →

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