#D781FD#D781FD

#D781FD is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.2% C 0.191 H 314.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#D781FD
RGBrgb(215, 129, 253)
HSLhsl(282, 97%, 75%)
HSVhsv(282, 49%, 99%)
CMYKcmyk(15%, 49%, 0%, 0.8%)
CIE-LABlab(67.46, 53.36, -48.73)
CIE-LCHlch(67.46, 72.27, 317.60°)
OKLaboklab(74.16% 0.1339 -0.1356)
OKLCHoklch(74.16% 0.191 314.6)
XYZxyz(53.6014, 37.2409, 97.2741)
Luminance0.3724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781FD #A7FD81
analogous
#9981FD #D781FD #FD81E5
triadic
#D781FD #FDD781 #81FDD7
tetradic
#D781FD #FD9981 #A7FD81 #81E5FD
square
#D781FD #FD9981 #A7FD81 #81E5FD
split-complementary
#D781FD #E5FD81 #81FD99
monochromatic
#B109FB #C445FC #D781FD #EABDFE #F5E1FF

Accessibility & contrast

On white

2.49
#D781FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#D781FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D781FD
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D781FD#FFFFFF#000000##000000
##D781FD1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#80A7FA
Tritanopia (blue-blind)
#D494B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d781fd;
/* rgb */ color: rgb(215, 129, 253);
/* oklch */ color: oklch(74.2% 0.191 314.6);
Tailwind
colors: {
  custom: {
    50: '#e5a8fe',
    500: '#d781fd',
    950: '#000000',
  },
}
SCSS
$custom: #d781fd;
$custom-light: #e5a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d781fd",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 281.613,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74161,
    "c": 0.19054,
    "h": 314.6
  },
  "luminance": 0.37239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D781FD

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

Preview Lab → · Contrast checker → · Palette generator →

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