#D880F2#D880F2

#D880F2 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.6% C 0.181 H 318.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#D880F2
RGBrgb(216, 128, 242)
HSLhsl(286, 81%, 73%)
HSVhsv(286, 47%, 95%)
CMYKcmyk(10.7%, 47.1%, 0%, 5.1%)
CIE-LABlab(66.86, 51.94, -43.63)
CIE-LCHlch(66.86, 67.83, 319.97°)
OKLaboklab(73.58% 0.1349 -0.1208)
OKLCHoklch(73.58% 0.181 318.2)
XYZxyz(52.0629, 36.4498, 88.2802)
Luminance0.3645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D880F2 #9AF280
analogous
#9F80F2 #D880F2 #F280D3
triadic
#D880F2 #F2D880 #80F2D8
tetradic
#D880F2 #F29F80 #9AF280 #80D3F2
square
#D880F2 #F29F80 #9AF280 #80D3F2
split-complementary
#D880F2 #D3F280 #80F29F
monochromatic
#B317E1 #C748EC #D880F2 #E9B8F8 #F6E3FC

Accessibility & contrast

On white

2.53
#D880F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#D880F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D880F2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D880F2#FFFFFF#000000##000000
##D880F21.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#85A6EF
Tritanopia (blue-blind)
#D890AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d880f2;
/* rgb */ color: rgb(216, 128, 242);
/* oklch */ color: oklch(73.6% 0.181 318.2);
Tailwind
colors: {
  custom: {
    50: '#e6a7f7',
    500: '#d880f2',
    950: '#000000',
  },
}
SCSS
$custom: #d880f2;
$custom-light: #e6a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d880f2",
  "rgb": {
    "r": 216,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 286.316,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73577,
    "c": 0.18112,
    "h": 318.2
  },
  "luminance": 0.36448
}

Semantic roles & 50–950 ramp

primary
#D880F2
secondary
#DEF4D7
accent
#DE0839
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D880F2

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

Preview Lab → · Contrast checker → · Palette generator →

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