#D783FD#D783FD

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

Color values

HEX#D783FD
RGBrgb(215, 131, 253)
HSLhsl(281, 97%, 75%)
HSVhsv(281, 48%, 99%)
CMYKcmyk(15%, 48.2%, 0%, 0.8%)
CIE-LABlab(67.85, 52.34, -48.11)
CIE-LCHlch(67.85, 71.09, 317.41°)
OKLaboklab(74.46% 0.1312 -0.1338)
OKLCHoklch(74.46% 0.187 314.4)
XYZxyz(53.8674, 37.7729, 97.3627)
Luminance0.3777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D783FD #A9FD83
analogous
#9A83FD #D783FD #FD83E6
triadic
#D783FD #FDD783 #83FDD7
tetradic
#D783FD #FD9A83 #A9FD83 #83E6FD
square
#D783FD #FD9A83 #A9FD83 #83E6FD
split-complementary
#D783FD #E6FD83 #83FD9A
monochromatic
#B00BFB #C447FC #D783FD #EABFFE #F5E1FF

Accessibility & contrast

On white

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

On black

8.55
#D783FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D783FD
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D783FD#FFFFFF#000000##000000
##D783FD1.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#81A8FA
Tritanopia (blue-blind)
#D496B4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d783fd;
/* rgb */ color: rgb(215, 131, 253);
/* oklch */ color: oklch(74.5% 0.187 314.4);
Tailwind
colors: {
  custom: {
    50: '#e5a9fe',
    500: '#d783fd',
    950: '#000000',
  },
}
SCSS
$custom: #d783fd;
$custom-light: #e5a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d783fd",
  "rgb": {
    "r": 215,
    "g": 131,
    "b": 253
  },
  "hsl": {
    "h": 281.311,
    "s": 96.825,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74455,
    "c": 0.18738,
    "h": 314.4
  },
  "luminance": 0.37772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D783FD

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

Preview Lab → · Contrast checker → · Palette generator →

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