#D882FE#D882FE

#D882FE is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.5% C 0.190 H 314.6°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#D882FE
RGBrgb(216, 130, 254)
HSLhsl(282, 98%, 75%)
HSVhsv(282, 49%, 100%)
CMYKcmyk(15%, 48.8%, 0%, 0.4%)
CIE-LABlab(67.81, 53.33, -48.71)
CIE-LCHlch(67.81, 72.22, 317.59°)
OKLaboklab(74.47% 0.1338 -0.1355)
OKLCHoklch(74.47% 0.19 314.6)
XYZxyz(54.1881, 37.7214, 98.1732)
Luminance0.3772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D882FE #A8FE82
analogous
#9A82FE #D882FE #FE82E6
triadic
#D882FE #FED882 #82FED8
tetradic
#D882FE #FE9A82 #A8FE82 #82E6FE
square
#D882FE #FE9A82 #A8FE82 #82E6FE
split-complementary
#D882FE #E6FE82 #82FE9A
monochromatic
#B209FD #C545FE #D882FE #EBBFFE #F6E1FF

Accessibility & contrast

On white

2.46
#D882FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#D882FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D882FE
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D882FE#FFFFFF#000000##000000
##D882FE1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#81A8FB
Tritanopia (blue-blind)
#D595B4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d882fe;
/* rgb */ color: rgb(216, 130, 254);
/* oklch */ color: oklch(74.5% 0.190 314.6);
Tailwind
colors: {
  custom: {
    50: '#e6a9ff',
    500: '#d882fe',
    950: '#000000',
  },
}
SCSS
$custom: #d882fe;
$custom-light: #e6a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d882fe",
  "rgb": {
    "r": 216,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 281.613,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74467,
    "c": 0.19043,
    "h": 314.6
  },
  "luminance": 0.3772
}

Semantic roles & 50–950 ramp

primary
#D882FE
secondary
#DFF7D4
accent
#E60046
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D882FE

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

Preview Lab → · Contrast checker → · Palette generator →

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