#D281DB#D281DB

#D281DB is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.0% C 0.153 H 323.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D281DB
RGBrgb(210, 129, 219)
HSLhsl(294, 56%, 68%)
HSVhsv(294, 41%, 86%)
CMYKcmyk(4.1%, 41.1%, 0%, 14.1%)
CIE-LABlab(65.37, 45.24, -33.28)
CIE-LCHlch(65.37, 56.17, 323.66°)
OKLaboklab(71.99% 0.1227 -0.0912)
OKLCHoklch(71.99% 0.153 323.4)
XYZxyz(47.2135, 34.5185, 71.1798)
Luminance0.3452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281DB #8ADB81
analogous
#A581DB #D281DB #DB81B7
triadic
#D281DB #DBD281 #81DBD2
tetradic
#D281DB #DBA581 #8ADB81 #81B7DB
square
#D281DB #DBA581 #8ADB81 #81B7DB
split-complementary
#D281DB #B7DB81 #81DBA5
monochromatic
#A332AF #C151CD #D281DB #E3B1E9 #F4E0F6

Accessibility & contrast

On white

2.66
#D281DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D281DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281DB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281DB#FFFFFF#000000##000000
##D281DB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DE
Deuteranopia (green-blind)
#8CA2D8
Tritanopia (blue-blind)
#D58BA4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d281db;
/* rgb */ color: rgb(210, 129, 219);
/* oklch */ color: oklch(72.0% 0.153 323.4);
Tailwind
colors: {
  custom: {
    50: '#e1a7e6',
    500: '#d281db',
    950: '#000000',
  },
}
SCSS
$custom: #d281db;
$custom-light: #e1a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d281db",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 294,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71987,
    "c": 0.15288,
    "h": 323.4
  },
  "luminance": 0.34517
}

Semantic roles & 50–950 ramp

primary
#D281DB
secondary
#D1EACE
accent
#C32232
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#151016
muted
#847F84

Preview Lab

Preview with #D281DB

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

Preview Lab → · Contrast checker → · Palette generator →

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