#D782FA#D782FA

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

Color values

HEX#D782FA
RGBrgb(215, 130, 250)
HSLhsl(283, 92%, 75%)
HSVhsv(283, 48%, 98%)
CMYKcmyk(14%, 48%, 0%, 2%)
CIE-LABlab(67.51, 52.24, -47.00)
CIE-LCHlch(67.51, 70.27, 318.02°)
OKLaboklab(74.16% 0.1321 -0.1306)
OKLCHoklch(74.16% 0.186 315.3)
XYZxyz(53.2596, 37.3160, 94.8211)
Luminance0.3731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D782FA #A5FA82
analogous
#9B82FA #D782FA #FA82E1
triadic
#D782FA #FAD782 #82FAD7
tetradic
#D782FA #FA9B82 #A5FA82 #82E1FA
square
#D782FA #FA9B82 #A5FA82 #82E1FA
split-complementary
#D782FA #E1FA82 #82FA9B
monochromatic
#B10CF5 #C447F8 #D782FA #EABDFC #F6E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D782FA#FFFFFF#000000##000000
##D782FA1.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)
#699FFE
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#D594B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d782fa;
/* rgb */ color: rgb(215, 130, 250);
/* oklch */ color: oklch(74.2% 0.186 315.3);
Tailwind
colors: {
  custom: {
    50: '#e5a9fc',
    500: '#d782fa',
    950: '#000000',
  },
}
SCSS
$custom: #d782fa;
$custom-light: #e5a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d782fa",
  "rgb": {
    "r": 215,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 282.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74157,
    "c": 0.18579,
    "h": 315.3
  },
  "luminance": 0.37314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D782FA

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

Preview Lab → · Contrast checker → · Palette generator →

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