#D281CD#D281CD

#D281CD is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.4% C 0.139 H 329.1°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D281CD
RGBrgb(210, 129, 205)
HSLhsl(304, 47%, 66%)
HSVhsv(304, 39%, 82%)
CMYKcmyk(0%, 38.6%, 2.4%, 17.6%)
CIE-LABlab(64.81, 42.65, -26.33)
CIE-LCHlch(64.81, 50.12, 328.31°)
OKLaboklab(71.38% 0.1196 -0.0715)
OKLCHoklch(71.38% 0.139 329.1)
XYZxyz(45.4473, 33.8121, 61.8783)
Luminance0.3381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281CD #81D286
analogous
#AF81D2 #D281CD #D281A5
triadic
#D281CD #CDD281 #81CDD2
tetradic
#D281CD #D2AF81 #81D286 #81A5D2
square
#D281CD #D2AF81 #81D286 #81A5D2
split-complementary
#D281CD #A5D281 #81D2AF
monochromatic
#A03999 #C254BB #D281CD #E2AEDF #F2DBF1

Accessibility & contrast

On white

2.71
#D281CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D281CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281CD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281CD#FFFFFF#000000##000000
##D281CD1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96D0
Deuteranopia (green-blind)
#92A1CA
Tritanopia (blue-blind)
#D8879E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d281cd;
/* rgb */ color: rgb(210, 129, 205);
/* oklch */ color: oklch(71.4% 0.139 329.1);
Tailwind
colors: {
  custom: {
    50: '#e1a7dc',
    500: '#d281cd',
    950: '#000000',
  },
}
SCSS
$custom: #d281cd;
$custom-light: #e1a7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d281cd",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 303.704,
    "s": 47.368,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71383,
    "c": 0.13931,
    "h": 329.1
  },
  "luminance": 0.3381
}

Semantic roles & 50–950 ramp

primary
#D281CD
secondary
#CAE5CC
accent
#BB342B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D281CD

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

Preview Lab → · Contrast checker → · Palette generator →

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