#D783E2#D783E2

#D783E2 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.2% C 0.159 H 322.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#D783E2
RGBrgb(215, 131, 226)
HSLhsl(293, 62%, 70%)
HSVhsv(293, 42%, 89%)
CMYKcmyk(4.9%, 42%, 0%, 11.4%)
CIE-LABlab(66.65, 47.01, -35.14)
CIE-LCHlch(66.65, 58.69, 323.23°)
OKLaboklab(73.17% 0.1269 -0.0964)
OKLCHoklch(73.17% 0.159 322.8)
XYZxyz(49.8666, 36.1726, 76.2920)
Luminance0.3617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D783E2 #8EE283
analogous
#A883E2 #D783E2 #E283BD
triadic
#D783E2 #E2D783 #83E2D7
tetradic
#D783E2 #E2A883 #8EE283 #83BDE2
square
#D783E2 #E2A883 #8EE283 #83BDE2
split-complementary
#D783E2 #BDE283 #83E2A8
monochromatic
#AD2CBE #C751D6 #D783E2 #E7B5EE #F7E6F9

Accessibility & contrast

On white

2.55
#D783E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#D783E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D783E2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D783E2#FFFFFF#000000##000000
##D783E21.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE5
Deuteranopia (green-blind)
#8EA6DF
Tritanopia (blue-blind)
#DA8EA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d783e2;
/* rgb */ color: rgb(215, 131, 226);
/* oklch */ color: oklch(73.2% 0.159 322.8);
Tailwind
colors: {
  custom: {
    50: '#e5a9eb',
    500: '#d783e2',
    950: '#000000',
  },
}
SCSS
$custom: #d783e2;
$custom-light: #e5a9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d783e2",
  "rgb": {
    "r": 215,
    "g": 131,
    "b": 226
  },
  "hsl": {
    "h": 293.053,
    "s": 62.092,
    "l": 70
  },
  "oklch": {
    "l": 0.73166,
    "c": 0.15941,
    "h": 322.8
  },
  "luminance": 0.36171
}

Semantic roles & 50–950 ramp

primary
#D783E2
secondary
#D6EED3
accent
#CA1C30
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D783E2

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

Preview Lab → · Contrast checker → · Palette generator →

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