#D882FA#D882FA

#D882FA is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.3% C 0.186 H 315.7°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#D882FA
RGBrgb(216, 130, 250)
HSLhsl(283, 92%, 75%)
HSVhsv(283, 48%, 98%)
CMYKcmyk(13.6%, 48%, 0%, 2%)
CIE-LABlab(67.63, 52.51, -46.82)
CIE-LCHlch(67.63, 70.35, 318.28°)
OKLaboklab(74.27% 0.1333 -0.13)
OKLCHoklch(74.27% 0.186 315.7)
XYZxyz(53.5542, 37.4679, 94.8349)
Luminance0.3747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D882FA #A4FA82
analogous
#9C82FA #D882FA #FA82E0
triadic
#D882FA #FAD882 #82FAD8
tetradic
#D882FA #FA9C82 #A4FA82 #82E0FA
square
#D882FA #FA9C82 #A4FA82 #82E0FA
split-complementary
#D882FA #E0FA82 #82FA9C
monochromatic
#B30CF5 #C647F8 #D882FA #EABDFC #F6E2FE

Accessibility & contrast

On white

2.47
#D882FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#D882FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D882FA
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D882FA#FFFFFF#000000##000000
##D882FA1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFE
Deuteranopia (green-blind)
#83A7F7
Tritanopia (blue-blind)
#D694B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d882fa;
/* rgb */ color: rgb(216, 130, 250);
/* oklch */ color: oklch(74.3% 0.186 315.7);
Tailwind
colors: {
  custom: {
    50: '#e6a9fc',
    500: '#d882fa',
    950: '#000000',
  },
}
SCSS
$custom: #d882fa;
$custom-light: #e6a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d882fa",
  "rgb": {
    "r": 216,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 283,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74266,
    "c": 0.18623,
    "h": 315.7
  },
  "luminance": 0.37466
}

Semantic roles & 50–950 ramp

primary
#D882FA
secondary
#DEF6D5
accent
#E60041
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D882FA

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

Preview Lab → · Contrast checker → · Palette generator →

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