#D783FE#D783FE

#D783FE is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.5% C 0.188 H 314.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#D783FE
RGBrgb(215, 131, 254)
HSLhsl(281, 98%, 75%)
HSVhsv(281, 48%, 100%)
CMYKcmyk(15.4%, 48.4%, 0%, 0.4%)
CIE-LABlab(67.90, 52.55, -48.58)
CIE-LCHlch(67.90, 71.56, 317.25°)
OKLaboklab(74.51% 0.1313 -0.1352)
OKLCHoklch(74.51% 0.188 314.2)
XYZxyz(54.0271, 37.8368, 98.2039)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D783FE #AAFE83
analogous
#9983FE #D783FE #FE83E7
triadic
#D783FE #FED783 #83FED7
tetradic
#D783FE #FE9983 #AAFE83 #83E7FE
square
#D783FE #FE9983 #AAFE83 #83E7FE
split-complementary
#D783FE #E7FE83 #83FE99
monochromatic
#B00AFD #C346FE #D783FE #EBC0FE #F5E1FF

Accessibility & contrast

On white

2.45
#D783FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#D783FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D783FE
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D783FE#FFFFFF#000000##000000
##D783FE1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#81A8FB
Tritanopia (blue-blind)
#D496B5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d783fe;
/* rgb */ color: rgb(215, 131, 254);
/* oklch */ color: oklch(74.5% 0.188 314.2);
Tailwind
colors: {
  custom: {
    50: '#e5a9ff',
    500: '#d783fe',
    950: '#000000',
  },
}
SCSS
$custom: #d783fe;
$custom-light: #e5a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d783fe",
  "rgb": {
    "r": 215,
    "g": 131,
    "b": 254
  },
  "hsl": {
    "h": 280.976,
    "s": 98.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74505,
    "c": 0.18845,
    "h": 314.2
  },
  "luminance": 0.37835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D783FE

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

Preview Lab → · Contrast checker → · Palette generator →

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