#D882FC#D882FC

#D882FC is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.4% C 0.188 H 315.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#D882FC
RGBrgb(216, 130, 252)
HSLhsl(282, 95%, 75%)
HSVhsv(282, 48%, 99%)
CMYKcmyk(14.3%, 48.4%, 0%, 1.2%)
CIE-LABlab(67.72, 52.92, -47.76)
CIE-LCHlch(67.72, 71.29, 317.93°)
OKLaboklab(74.37% 0.1336 -0.1328)
OKLCHoklch(74.37% 0.188 315.2)
XYZxyz(53.8695, 37.5940, 96.4952)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D882FC #A6FC82
analogous
#9B82FC #D882FC #FC82E3
triadic
#D882FC #FCD882 #82FCD8
tetradic
#D882FC #FC9B82 #A6FC82 #82E3FC
square
#D882FC #FC9B82 #A6FC82 #82E3FC
split-complementary
#D882FC #E3FC82 #82FC9B
monochromatic
#B30AF9 #C546FB #D882FC #EBBEFD #F6E1FE

Accessibility & contrast

On white

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

On black

8.52
#D882FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D882FC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D882FC#FFFFFF#000000##000000
##D882FC1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#82A7F9
Tritanopia (blue-blind)
#D694B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d882fc;
/* rgb */ color: rgb(216, 130, 252);
/* oklch */ color: oklch(74.4% 0.188 315.2);
Tailwind
colors: {
  custom: {
    50: '#e6a9fe',
    500: '#d882fc',
    950: '#000000',
  },
}
SCSS
$custom: #d882fc;
$custom-light: #e6a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d882fc",
  "rgb": {
    "r": 216,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 282.295,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74366,
    "c": 0.18833,
    "h": 315.2
  },
  "luminance": 0.37592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D882FC

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

Preview Lab → · Contrast checker → · Palette generator →

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