#D281EB#D281EB

#D281EB is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.7% C 0.169 H 317.9°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#D281EB
RGBrgb(210, 129, 235)
HSLhsl(286, 73%, 71%)
HSVhsv(286, 45%, 92%)
CMYKcmyk(10.6%, 45.1%, 0%, 7.8%)
CIE-LABlab(66.06, 48.36, -41.08)
CIE-LCHlch(66.06, 63.45, 319.65°)
OKLaboklab(72.73% 0.1256 -0.1136)
OKLCHoklch(72.73% 0.169 317.9)
XYZxyz(49.4219, 35.4019, 82.8110)
Luminance0.3540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281EB #9AEB81
analogous
#9D81EB #D281EB #EB81CF
triadic
#D281EB #EBD281 #81EBD2
tetradic
#D281EB #EB9D81 #9AEB81 #81CFEB
square
#D281EB #EB9D81 #9AEB81 #81CFEB
split-complementary
#D281EB #CFEB81 #81EB9D
monochromatic
#A721D1 #BF4CE3 #D281EB #E5B6F3 #F6E5FB

Accessibility & contrast

On white

2.60
#D281EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#D281EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281EB
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281EB#FFFFFF#000000##000000
##D281EB1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#D28FAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d281eb;
/* rgb */ color: rgb(210, 129, 235);
/* oklch */ color: oklch(72.7% 0.169 317.9);
Tailwind
colors: {
  custom: {
    50: '#e1a7f2',
    500: '#d281eb',
    950: '#000000',
  },
}
SCSS
$custom: #d281eb;
$custom-light: #e1a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d281eb",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 285.849,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72727,
    "c": 0.16932,
    "h": 317.9
  },
  "luminance": 0.354
}

Semantic roles & 50–950 ramp

primary
#D281EB
secondary
#DDF2D6
accent
#D5113F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D281EB

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

Preview Lab → · Contrast checker → · Palette generator →

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