#D781FA#D781FA

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

Color values

HEX#D781FA
RGBrgb(215, 129, 250)
HSLhsl(283, 92%, 74%)
HSVhsv(283, 48%, 98%)
CMYKcmyk(14%, 48.4%, 0%, 2%)
CIE-LABlab(67.32, 52.75, -47.31)
CIE-LCHlch(67.32, 70.86, 318.11°)
OKLaboklab(74.01% 0.1335 -0.1315)
OKLCHoklch(74.01% 0.187 315.4)
XYZxyz(53.1272, 37.0512, 94.7769)
Luminance0.3705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781FA #A4FA81
analogous
#9B81FA #D781FA #FA81E0
triadic
#D781FA #FAD781 #81FAD7
tetradic
#D781FA #FA9B81 #A4FA81 #81E0FA
square
#D781FA #FA9B81 #A4FA81 #81E0FA
split-complementary
#D781FA #E0FA81 #81FA9B
monochromatic
#B20BF5 #C446F8 #D781FA #EABCFC #F6E2FE

Accessibility & contrast

On white

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

On black

8.41
#D781FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D781FA
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D781FA#FFFFFF#000000##000000
##D781FA1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFE
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#D593B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d781fa;
/* rgb */ color: rgb(215, 129, 250);
/* oklch */ color: oklch(74.0% 0.187 315.4);
Tailwind
colors: {
  custom: {
    50: '#e5a8fc',
    500: '#d781fa',
    950: '#000000',
  },
}
SCSS
$custom: #d781fa;
$custom-light: #e5a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d781fa",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 282.645,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7401,
    "c": 0.18738,
    "h": 315.4
  },
  "luminance": 0.3705
}

Semantic roles & 50–950 ramp

primary
#D781FA
secondary
#DFF6D5
accent
#E60042
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D781FA

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

Preview Lab → · Contrast checker → · Palette generator →

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