#D882F7#D882F7

#D882F7 is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.1% C 0.183 H 316.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#D882F7
RGBrgb(216, 130, 247)
HSLhsl(284, 88%, 74%)
HSVhsv(284, 47%, 97%)
CMYKcmyk(12.6%, 47.4%, 0%, 3.1%)
CIE-LABlab(67.49, 51.91, -45.39)
CIE-LCHlch(67.49, 68.96, 318.83°)
OKLaboklab(74.12% 0.1329 -0.1259)
OKLCHoklch(74.12% 0.183 316.5)
XYZxyz(53.0876, 37.2812, 92.3771)
Luminance0.3728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D882F7 #A1F782
analogous
#9E82F7 #D882F7 #F782DB
triadic
#D882F7 #F7D882 #82F7D8
tetradic
#D882F7 #F79E82 #A1F782 #82DBF7
square
#D882F7 #F79E82 #A1F782 #82DBF7
split-complementary
#D882F7 #DBF782 #82F79E
monochromatic
#B40FEF #C648F3 #D882F7 #EABCFB #F6E2FD

Accessibility & contrast

On white

2.48
#D882F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#D882F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D882F7
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D882F7#FFFFFF#000000##000000
##D882F71.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#D793B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d882f7;
/* rgb */ color: rgb(216, 130, 247);
/* oklch */ color: oklch(74.1% 0.183 316.5);
Tailwind
colors: {
  custom: {
    50: '#e6a9fa',
    500: '#d882f7',
    950: '#000000',
  },
}
SCSS
$custom: #d882f7;
$custom-light: #e6a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d882f7",
  "rgb": {
    "r": 216,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 284.103,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74117,
    "c": 0.18308,
    "h": 316.5
  },
  "luminance": 0.3728
}

Semantic roles & 50–950 ramp

primary
#D882F7
secondary
#DEF5D6
accent
#E5013D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D882F7

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

Preview Lab → · Contrast checker → · Palette generator →

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