#D783CC#D783CC

#D783CC is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.2% C 0.139 H 331.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#D783CC
RGBrgb(215, 131, 204)
HSLhsl(308, 51%, 68%)
HSVhsv(308, 39%, 84%)
CMYKcmyk(0%, 39.1%, 5.1%, 15.7%)
CIE-LABlab(65.78, 42.99, -24.23)
CIE-LCHlch(65.78, 49.35, 330.59°)
OKLaboklab(72.23% 0.122 -0.0655)
OKLCHoklch(72.23% 0.139 331.8)
XYZxyz(47.0392, 35.0417, 61.4010)
Luminance0.3504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D783CC #83D78E
analogous
#B883D7 #D783CC #D783A2
triadic
#D783CC #CCD783 #83CCD7
tetradic
#D783CC #D7B883 #83D78E #83A2D7
square
#D783CC #D7B883 #83D78E #83A2D7
split-complementary
#D783CC #A2D783 #83D7B8
monochromatic
#A9379A #C855B9 #D783CC #E6B1DF #F5E0F2

Accessibility & contrast

On white

2.62
#D783CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#D783CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D783CC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D783CC#FFFFFF#000000##000000
##D783CC1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8198CF
Deuteranopia (green-blind)
#97A4C9
Tritanopia (blue-blind)
#DE889E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d783cc;
/* rgb */ color: rgb(215, 131, 204);
/* oklch */ color: oklch(72.2% 0.139 331.8);
Tailwind
colors: {
  custom: {
    50: '#e5a9db',
    500: '#d783cc',
    950: '#000000',
  },
}
SCSS
$custom: #d783cc;
$custom-light: #e5a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#d783cc",
  "rgb": {
    "r": 215,
    "g": 131,
    "b": 204
  },
  "hsl": {
    "h": 307.857,
    "s": 51.22,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72227,
    "c": 0.13851,
    "h": 331.8
  },
  "luminance": 0.35039
}

Semantic roles & 50–950 ramp

primary
#D783CC
secondary
#CEE8D1
accent
#BF3B27
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D783CC

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

Preview Lab → · Contrast checker → · Palette generator →

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