#D781FE#D781FE

#D781FE is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.2% C 0.192 H 314.4°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#D781FE
RGBrgb(215, 129, 254)
HSLhsl(281, 98%, 75%)
HSVhsv(281, 49%, 100%)
CMYKcmyk(15.4%, 49.2%, 0%, 0.4%)
CIE-LABlab(67.51, 53.57, -49.20)
CIE-LCHlch(67.51, 72.74, 317.43°)
OKLaboklab(74.21% 0.134 -0.137)
OKLCHoklch(74.21% 0.192 314.4)
XYZxyz(53.7611, 37.3048, 98.1152)
Luminance0.3730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781FE #A8FE81
analogous
#9881FE #D781FE #FE81E6
triadic
#D781FE #FED781 #81FED7
tetradic
#D781FE #FE9881 #A8FE81 #81E6FE
square
#D781FE #FE9881 #A8FE81 #81E6FE
split-complementary
#D781FE #E6FE81 #81FE98
monochromatic
#B008FD #C444FE #D781FE #EABEFE #F5E1FF

Accessibility & contrast

On white

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

On black

8.46
#D781FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D781FE
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D781FE#FFFFFF#000000##000000
##D781FE1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#D494B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d781fe;
/* rgb */ color: rgb(215, 129, 254);
/* oklch */ color: oklch(74.2% 0.192 314.4);
Tailwind
colors: {
  custom: {
    50: '#e6a8ff',
    500: '#d781fe',
    950: '#000000',
  },
}
SCSS
$custom: #d781fe;
$custom-light: #e6a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d781fe",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 281.28,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74212,
    "c": 0.19159,
    "h": 314.4
  },
  "luminance": 0.37303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D781FE

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

Preview Lab → · Contrast checker → · Palette generator →

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