#D783FC#D783FC

#D783FC is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.4% C 0.186 H 314.7°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#D783FC
RGBrgb(215, 131, 252)
HSLhsl(282, 95%, 75%)
HSVhsv(282, 48%, 99%)
CMYKcmyk(14.7%, 48%, 0%, 1.2%)
CIE-LABlab(67.81, 52.14, -47.64)
CIE-LCHlch(67.81, 70.62, 317.58°)
OKLaboklab(74.4% 0.1311 -0.1324)
OKLCHoklch(74.4% 0.186 314.7)
XYZxyz(53.7085, 37.7094, 96.5260)
Luminance0.3771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D783FC #A8FC83
analogous
#9A83FC #D783FC #FC83E4
triadic
#D783FC #FCD783 #83FCD7
tetradic
#D783FC #FC9A83 #A8FC83 #83E4FC
square
#D783FC #FC9A83 #A8FC83 #83E4FC
split-complementary
#D783FC #E4FC83 #83FC9A
monochromatic
#B00BF9 #C447FB #D783FC #EABFFD #F5E1FE

Accessibility & contrast

On white

2.46
#D783FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#D783FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D783FC
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D783FC#FFFFFF#000000##000000
##D783FC1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#82A8F9
Tritanopia (blue-blind)
#D495B4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d783fc;
/* rgb */ color: rgb(215, 131, 252);
/* oklch */ color: oklch(74.4% 0.186 314.7);
Tailwind
colors: {
  custom: {
    50: '#e5a9fe',
    500: '#d783fc',
    950: '#000000',
  },
}
SCSS
$custom: #d783fc;
$custom-light: #e5a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d783fc",
  "rgb": {
    "r": 215,
    "g": 131,
    "b": 252
  },
  "hsl": {
    "h": 281.653,
    "s": 95.276,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74404,
    "c": 0.18632,
    "h": 314.7
  },
  "luminance": 0.37708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D783FC

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

Preview Lab → · Contrast checker → · Palette generator →

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