#D281ED#D281ED

#D281ED is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.8% C 0.171 H 317.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D281ED
RGBrgb(210, 129, 237)
HSLhsl(285, 75%, 72%)
HSVhsv(285, 46%, 93%)
CMYKcmyk(11.4%, 45.6%, 0%, 7.1%)
CIE-LABlab(66.15, 48.76, -42.04)
CIE-LCHlch(66.15, 64.38, 319.23°)
OKLaboklab(72.82% 0.1259 -0.1164)
OKLCHoklch(72.82% 0.171 317.3)
XYZxyz(49.7125, 35.5181, 84.3413)
Luminance0.3552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281ED #9CED81
analogous
#9C81ED #D281ED #ED81D2
triadic
#D281ED #EDD281 #81EDD2
tetradic
#D281ED #ED9C81 #9CED81 #81D2ED
square
#D281ED #ED9C81 #9CED81 #81D2ED
split-complementary
#D281ED #D2ED81 #81ED9C
monochromatic
#A71ED5 #BF4BE5 #D281ED #E5B7F5 #F5E4FB

Accessibility & contrast

On white

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

On black

8.10
#D281ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281ED
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281ED#FFFFFF#000000##000000
##D281ED1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d281ed;
/* rgb */ color: rgb(210, 129, 237);
/* oklch */ color: oklch(72.8% 0.171 317.3);
Tailwind
colors: {
  custom: {
    50: '#e2a7f3',
    500: '#d281ed',
    950: '#000000',
  },
}
SCSS
$custom: #d281ed;
$custom-light: #e2a7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d281ed",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 285,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72823,
    "c": 0.17142,
    "h": 317.3
  },
  "luminance": 0.35517
}

Semantic roles & 50–950 ramp

primary
#D281ED
secondary
#DEF3D7
accent
#D70E41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D281ED

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

Preview Lab → · Contrast checker → · Palette generator →

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