#D783FA#D783FA

#D783FA is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.3% C 0.184 H 315.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#D783FA
RGBrgb(215, 131, 250)
HSLhsl(282, 92%, 75%)
HSVhsv(282, 48%, 98%)
CMYKcmyk(14%, 47.6%, 0%, 2%)
CIE-LABlab(67.71, 51.73, -46.69)
CIE-LCHlch(67.71, 69.68, 317.93°)
OKLaboklab(74.3% 0.1308 -0.1297)
OKLCHoklch(74.3% 0.184 315.2)
XYZxyz(53.3933, 37.5833, 94.8656)
Luminance0.3758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D783FA #A6FA83
analogous
#9C83FA #D783FA #FA83E1
triadic
#D783FA #FAD783 #83FAD7
tetradic
#D783FA #FA9C83 #A6FA83 #83E1FA
square
#D783FA #FA9C83 #A6FA83 #83E1FA
split-complementary
#D783FA #E1FA83 #83FA9C
monochromatic
#B10DF5 #C448F8 #D783FA #EABEFC #F6E2FE

Accessibility & contrast

On white

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

On black

8.52
#D783FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D783FA
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D783FA#FFFFFF#000000##000000
##D783FA1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#83A7F7
Tritanopia (blue-blind)
#D595B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d783fa;
/* rgb */ color: rgb(215, 131, 250);
/* oklch */ color: oklch(74.3% 0.184 315.2);
Tailwind
colors: {
  custom: {
    50: '#e5a9fc',
    500: '#d783fa',
    950: '#000000',
  },
}
SCSS
$custom: #d783fa;
$custom-light: #e5a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d783fa",
  "rgb": {
    "r": 215,
    "g": 131,
    "b": 250
  },
  "hsl": {
    "h": 282.353,
    "s": 92.248,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74304,
    "c": 0.1842,
    "h": 315.2
  },
  "luminance": 0.37582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D783FA

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

Preview Lab → · Contrast checker → · Palette generator →

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