#D882F9#D882F9

#D882F9 is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.2% C 0.185 H 316.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#D882F9
RGBrgb(216, 130, 249)
HSLhsl(283, 91%, 74%)
HSVhsv(283, 48%, 98%)
CMYKcmyk(13.3%, 47.8%, 0%, 2.4%)
CIE-LABlab(67.58, 52.31, -46.34)
CIE-LCHlch(67.58, 69.89, 318.46°)
OKLaboklab(74.22% 0.1332 -0.1287)
OKLCHoklch(74.22% 0.185 316)
XYZxyz(53.3978, 37.4053, 94.0113)
Luminance0.3740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D882F9 #A3F982
analogous
#9D82F9 #D882F9 #F982DF
triadic
#D882F9 #F9D882 #82F9D8
tetradic
#D882F9 #F99D82 #A3F982 #82DFF9
square
#D882F9 #F99D82 #A3F982 #82DFF9
split-complementary
#D882F9 #DFF982 #82F99D
monochromatic
#B40DF3 #C648F6 #D882F9 #EABCFC #F6E2FE

Accessibility & contrast

On white

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

On black

8.48
#D882F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D882F9
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D882F9#FFFFFF#000000##000000
##D882F91.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFD
Deuteranopia (green-blind)
#83A7F6
Tritanopia (blue-blind)
#D693B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d882f9;
/* rgb */ color: rgb(216, 130, 249);
/* oklch */ color: oklch(74.2% 0.185 316.0);
Tailwind
colors: {
  custom: {
    50: '#e6a9fb',
    500: '#d882f9',
    950: '#000000',
  },
}
SCSS
$custom: #d882f9;
$custom-light: #e6a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d882f9",
  "rgb": {
    "r": 216,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 283.361,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74216,
    "c": 0.18518,
    "h": 316
  },
  "luminance": 0.37404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D882F9

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

Preview Lab → · Contrast checker → · Palette generator →

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