#D782CA#D782CA

#D782CA is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.0% C 0.138 H 332.7°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D782CA
RGBrgb(215, 130, 202)
HSLhsl(309, 52%, 68%)
HSVhsv(309, 40%, 84%)
CMYKcmyk(0%, 39.5%, 6%, 15.7%)
CIE-LABlab(65.50, 43.17, -23.55)
CIE-LCHlch(65.50, 49.17, 331.39°)
OKLaboklab(71.99% 0.123 -0.0636)
OKLCHoklch(71.99% 0.138 332.7)
XYZxyz(46.6672, 34.6790, 60.1013)
Luminance0.3468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D782CA #82D78F
analogous
#B982D7 #D782CA #D782A0
triadic
#D782CA #CAD782 #82CAD7
tetradic
#D782CA #D7B982 #82D78F #82A0D7
square
#D782CA #D7B982 #82D78F #82A0D7
split-complementary
#D782CA #A0D782 #82D7B9
monochromatic
#A93697 #C854B6 #D782CA #E6B0DE #F5DFF1

Accessibility & contrast

On white

2.65
#D782CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#D782CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D782CA
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D782CA#FFFFFF#000000##000000
##D782CA1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CD
Deuteranopia (green-blind)
#96A3C7
Tritanopia (blue-blind)
#DE879D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d782ca;
/* rgb */ color: rgb(215, 130, 202);
/* oklch */ color: oklch(72.0% 0.138 332.7);
Tailwind
colors: {
  custom: {
    50: '#e5a8da',
    500: '#d782ca',
    950: '#000000',
  },
}
SCSS
$custom: #d782ca;
$custom-light: #e5a8da;
$custom-dark: #000000;
JSON
{
  "hex": "#d782ca",
  "rgb": {
    "r": 215,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 309.176,
    "s": 51.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71989,
    "c": 0.13848,
    "h": 332.7
  },
  "luminance": 0.34677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D782CA

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

Preview Lab → · Contrast checker → · Palette generator →

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