#D281CB#D281CB

#D281CB is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.3% C 0.137 H 330.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D281CB
RGBrgb(210, 129, 203)
HSLhsl(305, 47%, 66%)
HSVhsv(305, 39%, 82%)
CMYKcmyk(0%, 38.6%, 3.3%, 17.6%)
CIE-LABlab(64.74, 42.29, -25.33)
CIE-LCHlch(64.74, 49.30, 329.09°)
OKLaboklab(71.3% 0.1191 -0.0687)
OKLCHoklch(71.3% 0.137 330)
XYZxyz(45.2075, 33.7161, 60.6149)
Luminance0.3371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281CB #81D288
analogous
#B181D2 #D281CB #D281A3
triadic
#D281CB #CBD281 #81CBD2
tetradic
#D281CB #D2B181 #81D288 #81A3D2
square
#D281CB #D2B181 #81D288 #81A3D2
split-complementary
#D281CB #A3D281 #81D2B1
monochromatic
#A03997 #C254B8 #D281CB #E2AEDE #F2DBF0

Accessibility & contrast

On white

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

On black

7.74
#D281CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281CB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281CB#FFFFFF#000000##000000
##D281CB1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CE
Deuteranopia (green-blind)
#92A1C8
Tritanopia (blue-blind)
#D8879D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d281cb;
/* rgb */ color: rgb(210, 129, 203);
/* oklch */ color: oklch(71.3% 0.137 330.0);
Tailwind
colors: {
  custom: {
    50: '#e1a7db',
    500: '#d281cb',
    950: '#000000',
  },
}
SCSS
$custom: #d281cb;
$custom-light: #e1a7db;
$custom-dark: #000000;
JSON
{
  "hex": "#d281cb",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 305.185,
    "s": 47.368,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71301,
    "c": 0.13746,
    "h": 330
  },
  "luminance": 0.33714
}

Semantic roles & 50–950 ramp

primary
#D281CB
secondary
#CAE5CD
accent
#BB372B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D281CB

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

Preview Lab → · Contrast checker → · Palette generator →

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