#D784F2#D784F2

#D784F2 is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.1% C 0.174 H 317.4°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#D784F2
RGBrgb(215, 132, 242)
HSLhsl(285, 81%, 73%)
HSVhsv(285, 45%, 95%)
CMYKcmyk(11.2%, 45.5%, 0%, 5.1%)
CIE-LABlab(67.55, 49.60, -42.56)
CIE-LCHlch(67.55, 65.36, 319.37°)
OKLaboklab(74.06% 0.1283 -0.1178)
OKLCHoklch(74.06% 0.174 317.4)
XYZxyz(52.3003, 37.3620, 88.4438)
Luminance0.3736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D784F2 #9FF284
analogous
#A084F2 #D784F2 #F284D6
triadic
#D784F2 #F2D784 #84F2D7
tetradic
#D784F2 #F2A084 #9FF284 #84D6F2
square
#D784F2 #F2A084 #9FF284 #84D6F2
split-complementary
#D784F2 #D6F284 #84F2A0
monochromatic
#B218E4 #C54DEC #D784F2 #E9BBF8 #F6E3FC

Accessibility & contrast

On white

2.48
#D784F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#D784F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D784F2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D784F2#FFFFFF#000000##000000
##D784F21.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#88A7EF
Tritanopia (blue-blind)
#D793B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d784f2;
/* rgb */ color: rgb(215, 132, 242);
/* oklch */ color: oklch(74.1% 0.174 317.4);
Tailwind
colors: {
  custom: {
    50: '#e5aaf7',
    500: '#d784f2',
    950: '#000000',
  },
}
SCSS
$custom: #d784f2;
$custom-light: #e5aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d784f2",
  "rgb": {
    "r": 215,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 285.273,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74063,
    "c": 0.17416,
    "h": 317.4
  },
  "luminance": 0.3736
}

Semantic roles & 50–950 ramp

primary
#D784F2
secondary
#DEF4D7
accent
#DD083D
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D784F2

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

Preview Lab → · Contrast checker → · Palette generator →

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