#D783CA#D783CA

#D783CA is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.1% C 0.137 H 332.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#D783CA
RGBrgb(215, 131, 202)
HSLhsl(309, 51%, 68%)
HSVhsv(309, 39%, 84%)
CMYKcmyk(0%, 39.1%, 6%, 15.7%)
CIE-LABlab(65.71, 42.64, -23.23)
CIE-LCHlch(65.71, 48.56, 331.42°)
OKLaboklab(72.15% 0.1215 -0.0627)
OKLCHoklch(72.15% 0.137 332.7)
XYZxyz(46.8009, 34.9463, 60.1458)
Luminance0.3494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D783CA #83D790
analogous
#BA83D7 #D783CA #D783A0
triadic
#D783CA #CAD783 #83CAD7
tetradic
#D783CA #D7BA83 #83D790 #83A0D7
square
#D783CA #D7BA83 #83D790 #83A0D7
split-complementary
#D783CA #A0D783 #83D7BA
monochromatic
#A93797 #C855B6 #D783CA #E6B1DE #F5E0F2

Accessibility & contrast

On white

2.63
#D783CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#D783CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D783CA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D783CA#FFFFFF#000000##000000
##D783CA1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8298CD
Deuteranopia (green-blind)
#97A4C7
Tritanopia (blue-blind)
#DE889E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d783ca;
/* rgb */ color: rgb(215, 131, 202);
/* oklch */ color: oklch(72.1% 0.137 332.7);
Tailwind
colors: {
  custom: {
    50: '#e5a9da',
    500: '#d783ca',
    950: '#000000',
  },
}
SCSS
$custom: #d783ca;
$custom-light: #e5a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#d783ca",
  "rgb": {
    "r": 215,
    "g": 131,
    "b": 202
  },
  "hsl": {
    "h": 309.286,
    "s": 51.22,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72147,
    "c": 0.13674,
    "h": 332.7
  },
  "luminance": 0.34944
}

Semantic roles & 50–950 ramp

primary
#D783CA
secondary
#CEE8D2
accent
#BF3E27
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #D783CA

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

Preview Lab → · Contrast checker → · Palette generator →

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