#D783F9#D783F9

#D783F9 is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.3% C 0.183 H 315.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#D783F9
RGBrgb(215, 131, 249)
HSLhsl(283, 91%, 75%)
HSVhsv(283, 47%, 98%)
CMYKcmyk(13.7%, 47.4%, 0%, 2.4%)
CIE-LABlab(67.67, 51.53, -46.21)
CIE-LCHlch(67.67, 69.22, 318.11°)
OKLaboklab(74.26% 0.1307 -0.1283)
OKLCHoklch(74.26% 0.183 315.5)
XYZxyz(53.2369, 37.5207, 94.0420)
Luminance0.3752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D783F9 #A5F983
analogous
#9C83F9 #D783F9 #F983E0
triadic
#D783F9 #F9D783 #83F9D7
tetradic
#D783F9 #F99C83 #A5F983 #83E0F9
square
#D783F9 #F99C83 #A5F983 #83E0F9
split-complementary
#D783F9 #E0F983 #83F99C
monochromatic
#B10EF3 #C449F6 #D783F9 #EABDFC #F6E2FE

Accessibility & contrast

On white

2.47
#D783F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#D783F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D783F9
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D783F9#FFFFFF#000000##000000
##D783F91.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FD
Deuteranopia (green-blind)
#84A7F6
Tritanopia (blue-blind)
#D594B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d783f9;
/* rgb */ color: rgb(215, 131, 249);
/* oklch */ color: oklch(74.3% 0.183 315.5);
Tailwind
colors: {
  custom: {
    50: '#e5a9fb',
    500: '#d783f9',
    950: '#000000',
  },
}
SCSS
$custom: #d783f9;
$custom-light: #e5a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d783f9",
  "rgb": {
    "r": 215,
    "g": 131,
    "b": 249
  },
  "hsl": {
    "h": 282.712,
    "s": 90.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74255,
    "c": 0.18314,
    "h": 315.5
  },
  "luminance": 0.37519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D783F9

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

Preview Lab → · Contrast checker → · Palette generator →

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