#D281DC#D281DC

#D281DC is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.0% C 0.154 H 323.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#D281DC
RGBrgb(210, 129, 220)
HSLhsl(293, 57%, 68%)
HSVhsv(293, 41%, 86%)
CMYKcmyk(4.5%, 41.4%, 0%, 13.7%)
CIE-LABlab(65.41, 45.43, -33.77)
CIE-LCHlch(65.41, 56.61, 323.37°)
OKLaboklab(72.03% 0.1229 -0.0926)
OKLCHoklch(72.03% 0.154 323)
XYZxyz(47.3455, 34.5713, 71.8753)
Luminance0.3457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281DC #8BDC81
analogous
#A481DC #D281DC #DC81B8
triadic
#D281DC #DCD281 #81DCD2
tetradic
#D281DC #DCA481 #8BDC81 #81B8DC
square
#D281DC #DCA481 #8BDC81 #81B8DC
split-complementary
#D281DC #B8DC81 #81DCA4
monochromatic
#A331B1 #C151CF #D281DC #E3B1E9 #F4E1F7

Accessibility & contrast

On white

2.65
#D281DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#D281DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281DC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281DC#FFFFFF#000000##000000
##D281DC1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699DF
Deuteranopia (green-blind)
#8CA2D9
Tritanopia (blue-blind)
#D58BA4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d281dc;
/* rgb */ color: rgb(210, 129, 220);
/* oklch */ color: oklch(72.0% 0.154 323.0);
Tailwind
colors: {
  custom: {
    50: '#e1a7e7',
    500: '#d281dc',
    950: '#000000',
  },
}
SCSS
$custom: #d281dc;
$custom-light: #e1a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d281dc",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 293.407,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72031,
    "c": 0.15387,
    "h": 323
  },
  "luminance": 0.34569
}

Semantic roles & 50–950 ramp

primary
#D281DC
secondary
#D2EACF
accent
#C42133
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#151016
muted
#847F84

Preview Lab

Preview with #D281DC

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

Preview Lab → · Contrast checker → · Palette generator →

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