#D781F9#D781F9

#D781F9 is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.0% C 0.186 H 315.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#D781F9
RGBrgb(215, 129, 249)
HSLhsl(283, 91%, 74%)
HSVhsv(283, 48%, 98%)
CMYKcmyk(13.7%, 48.2%, 0%, 2.4%)
CIE-LABlab(67.27, 52.55, -46.84)
CIE-LCHlch(67.27, 70.40, 318.29°)
OKLaboklab(73.96% 0.1334 -0.1301)
OKLCHoklch(73.96% 0.186 315.7)
XYZxyz(52.9709, 36.9887, 93.9533)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781F9 #A3F981
analogous
#9B81F9 #D781F9 #F981DF
triadic
#D781F9 #F9D781 #81F9D7
tetradic
#D781F9 #F99B81 #A3F981 #81DFF9
square
#D781F9 #F99B81 #A3F981 #81DFF9
split-complementary
#D781F9 #DFF981 #81F99B
monochromatic
#B20CF3 #C447F6 #D781F9 #EABBFC #F6E2FE

Accessibility & contrast

On white

2.50
#D781F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#D781F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D781F9
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D781F9#FFFFFF#000000##000000
##D781F91.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFD
Deuteranopia (green-blind)
#82A6F6
Tritanopia (blue-blind)
#D593B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d781f9;
/* rgb */ color: rgb(215, 129, 249);
/* oklch */ color: oklch(74.0% 0.186 315.7);
Tailwind
colors: {
  custom: {
    50: '#e5a8fc',
    500: '#d781f9',
    950: '#000000',
  },
}
SCSS
$custom: #d781f9;
$custom-light: #e5a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d781f9",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 283,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7396,
    "c": 0.18632,
    "h": 315.7
  },
  "luminance": 0.36987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D781F9

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

Preview Lab → · Contrast checker → · Palette generator →

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