#D281EA#D281EA

#D281EA is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.7% C 0.168 H 318.2°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#D281EA
RGBrgb(210, 129, 234)
HSLhsl(286, 71%, 71%)
HSVhsv(286, 45%, 92%)
CMYKcmyk(10.3%, 44.9%, 0%, 8.2%)
CIE-LABlab(66.02, 48.16, -40.59)
CIE-LCHlch(66.02, 62.98, 319.87°)
OKLaboklab(72.68% 0.1254 -0.1122)
OKLCHoklch(72.68% 0.168 318.2)
XYZxyz(49.2778, 35.3443, 82.0523)
Luminance0.3534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281EA #99EA81
analogous
#9D81EA #D281EA #EA81CD
triadic
#D281EA #EAD281 #81EAD2
tetradic
#D281EA #EA9D81 #99EA81 #81CDEA
square
#D281EA #EA9D81 #99EA81 #81CDEA
split-complementary
#D281EA #CDEA81 #81EA9D
monochromatic
#A722CE #BF4DE1 #D281EA #E5B5F3 #F6E5FB

Accessibility & contrast

On white

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

On black

8.07
#D281EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281EA
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281EA#FFFFFF#000000##000000
##D281EA1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEE
Deuteranopia (green-blind)
#86A3E7
Tritanopia (blue-blind)
#D28FAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d281ea;
/* rgb */ color: rgb(210, 129, 234);
/* oklch */ color: oklch(72.7% 0.168 318.2);
Tailwind
colors: {
  custom: {
    50: '#e1a7f1',
    500: '#d281ea',
    950: '#000000',
  },
}
SCSS
$custom: #d281ea;
$custom-light: #e1a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d281ea",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 286.286,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72679,
    "c": 0.16827,
    "h": 318.2
  },
  "luminance": 0.35343
}

Semantic roles & 50–950 ramp

primary
#D281EA
secondary
#DCF1D6
accent
#D3123E
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D281EA

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

Preview Lab → · Contrast checker → · Palette generator →

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