#D281DF#D281DF

#D281DF is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.2% C 0.157 H 321.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#D281DF
RGBrgb(210, 129, 223)
HSLhsl(292, 59%, 69%)
HSVhsv(292, 42%, 87%)
CMYKcmyk(5.8%, 42.2%, 0%, 12.5%)
CIE-LABlab(65.54, 46.01, -35.25)
CIE-LCHlch(65.54, 57.96, 322.54°)
OKLaboklab(72.17% 0.1235 -0.0968)
OKLCHoklch(72.17% 0.157 321.9)
XYZxyz(47.7464, 34.7317, 73.9865)
Luminance0.3473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281DF #8EDF81
analogous
#A381DF #D281DF #DF81BD
triadic
#D281DF #DFD281 #81DFD2
tetradic
#D281DF #DFA381 #8EDF81 #81BDDF
square
#D281DF #DFA381 #8EDF81 #81BDDF
split-complementary
#D281DF #BDDF81 #81DFA3
monochromatic
#A42FB7 #C150D3 #D281DF #E3B2EB #F5E3F8

Accessibility & contrast

On white

2.64
#D281DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#D281DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281DF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281DF#FFFFFF#000000##000000
##D281DF1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E2
Deuteranopia (green-blind)
#8BA2DC
Tritanopia (blue-blind)
#D48CA6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d281df;
/* rgb */ color: rgb(210, 129, 223);
/* oklch */ color: oklch(72.2% 0.157 321.9);
Tailwind
colors: {
  custom: {
    50: '#e1a7e9',
    500: '#d281df',
    950: '#000000',
  },
}
SCSS
$custom: #d281df;
$custom-light: #e1a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d281df",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 291.702,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72167,
    "c": 0.15691,
    "h": 321.9
  },
  "luminance": 0.3473
}

Semantic roles & 50–950 ramp

primary
#D281DF
secondary
#D4ECD0
accent
#C71E36
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151016
muted
#847F84

Preview Lab

Preview with #D281DF

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

Preview Lab → · Contrast checker → · Palette generator →

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