#D281EF#D281EF

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

Color values

HEX#D281EF
RGBrgb(210, 129, 239)
HSLhsl(284, 77%, 72%)
HSVhsv(284, 46%, 94%)
CMYKcmyk(12.1%, 46%, 0%, 6.3%)
CIE-LABlab(66.24, 49.16, -43.00)
CIE-LCHlch(66.24, 65.31, 318.82°)
OKLaboklab(72.92% 0.1262 -0.1191)
OKLCHoklch(72.92% 0.174 316.6)
XYZxyz(50.0063, 35.6356, 85.8888)
Luminance0.3563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281EF #9EEF81
analogous
#9B81EF #D281EF #EF81D5
triadic
#D281EF #EFD281 #81EFD2
tetradic
#D281EF #EF9B81 #9EEF81 #81D5EF
square
#D281EF #EF9B81 #9EEF81 #81D5EF
split-complementary
#D281EF #D5EF81 #81EF9B
monochromatic
#A81CDA #BF4BE8 #D281EF #E5B7F6 #F5E4FC

Accessibility & contrast

On white

2.58
#D281EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#D281EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281EF
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281EF#FFFFFF#000000##000000
##D281EF1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#D191AD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d281ef;
/* rgb */ color: rgb(210, 129, 239);
/* oklch */ color: oklch(72.9% 0.174 316.6);
Tailwind
colors: {
  custom: {
    50: '#e2a8f4',
    500: '#d281ef',
    950: '#000000',
  },
}
SCSS
$custom: #d281ef;
$custom-light: #e2a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d281ef",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 284.182,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7292,
    "c": 0.17353,
    "h": 316.6
  },
  "luminance": 0.35634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D281EF

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

Preview Lab → · Contrast checker → · Palette generator →

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