#D781FF#D781FF

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

Color values

HEX#D781FF
RGBrgb(215, 129, 255)
HSLhsl(281, 100%, 75%)
HSVhsv(281, 49%, 100%)
CMYKcmyk(15.7%, 49.4%, 0%, 0%)
CIE-LABlab(67.55, 53.77, -49.67)
CIE-LCHlch(67.55, 73.21, 317.27°)
OKLaboklab(74.26% 0.1341 -0.1383)
OKLCHoklch(74.26% 0.193 314.1)
XYZxyz(53.9216, 37.3690, 98.9608)
Luminance0.3737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781FF #A9FF81
analogous
#9881FF #D781FF #FF81E8
triadic
#D781FF #FFD781 #81FFD7
tetradic
#D781FF #FF9881 #A9FF81 #81E8FF
square
#D781FF #FF9881 #A9FF81 #81E8FF
split-complementary
#D781FF #E8FF81 #81FF98
monochromatic
#B007FF #C444FF #D781FF #EABEFF #F5E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D781FF#FFFFFF#000000##000000
##D781FF1.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)
#65A0FF
Deuteranopia (green-blind)
#7FA7FC
Tritanopia (blue-blind)
#D495B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d781ff;
/* rgb */ color: rgb(215, 129, 255);
/* oklch */ color: oklch(74.3% 0.193 314.1);
Tailwind
colors: {
  custom: {
    50: '#e6a8ff',
    500: '#d781ff',
    950: '#000000',
  },
}
SCSS
$custom: #d781ff;
$custom-light: #e6a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d781ff",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 280.952,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74263,
    "c": 0.19265,
    "h": 314.1
  },
  "luminance": 0.37368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D781FF

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

Preview Lab → · Contrast checker → · Palette generator →

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