#D281EE#D281EE

#D281EE is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.9% C 0.172 H 316.9°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#D281EE
RGBrgb(210, 129, 238)
HSLhsl(285, 76%, 72%)
HSVhsv(285, 46%, 93%)
CMYKcmyk(11.8%, 45.8%, 0%, 6.7%)
CIE-LABlab(66.20, 48.96, -42.52)
CIE-LCHlch(66.20, 64.84, 319.03°)
OKLaboklab(72.87% 0.126 -0.1177)
OKLCHoklch(72.87% 0.172 316.9)
XYZxyz(49.8590, 35.5767, 85.1129)
Luminance0.3558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281EE #9DEE81
analogous
#9C81EE #D281EE #EE81D4
triadic
#D281EE #EED281 #81EED2
tetradic
#D281EE #EE9C81 #9DEE81 #81D4EE
square
#D281EE #EE9C81 #9DEE81 #81D4EE
split-complementary
#D281EE #D4EE81 #81EE9C
monochromatic
#A81DD8 #BF4BE7 #D281EE #E5B7F5 #F5E4FB

Accessibility & contrast

On white

2.59
#D281EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#D281EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281EE
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281EE#FFFFFF#000000##000000
##D281EE1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF2
Deuteranopia (green-blind)
#84A3EB
Tritanopia (blue-blind)
#D190AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d281ee;
/* rgb */ color: rgb(210, 129, 238);
/* oklch */ color: oklch(72.9% 0.172 316.9);
Tailwind
colors: {
  custom: {
    50: '#e2a8f4',
    500: '#d281ee',
    950: '#000000',
  },
}
SCSS
$custom: #d281ee;
$custom-light: #e2a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d281ee",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 284.587,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72871,
    "c": 0.17248,
    "h": 316.9
  },
  "luminance": 0.35575
}

Semantic roles & 50–950 ramp

primary
#D281EE
secondary
#DFF3D8
accent
#D80D41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D281EE

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

Preview Lab → · Contrast checker → · Palette generator →

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