#D281CA#D281CA

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

Color values

HEX#D281CA
RGBrgb(210, 129, 202)
HSLhsl(306, 47%, 66%)
HSVhsv(306, 39%, 82%)
CMYKcmyk(0%, 38.6%, 3.8%, 17.6%)
CIE-LABlab(64.70, 42.11, -24.82)
CIE-LCHlch(64.70, 48.89, 329.48°)
OKLaboklab(71.26% 0.1188 -0.0672)
OKLCHoklch(71.26% 0.137 330.5)
XYZxyz(45.0887, 33.6686, 59.9894)
Luminance0.3367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281CA #81D289
analogous
#B281D2 #D281CA #D281A2
triadic
#D281CA #CAD281 #81CAD2
tetradic
#D281CA #D2B281 #81D289 #81A2D2
square
#D281CA #D2B281 #81D289 #81A2D2
split-complementary
#D281CA #A2D281 #81D2B2
monochromatic
#A03995 #C254B7 #D281CA #E2AEDD #F2DBF0

Accessibility & contrast

On white

2.72
#D281CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#D281CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281CA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281CA#FFFFFF#000000##000000
##D281CA1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CD
Deuteranopia (green-blind)
#93A1C7
Tritanopia (blue-blind)
#D8879C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d281ca;
/* rgb */ color: rgb(210, 129, 202);
/* oklch */ color: oklch(71.3% 0.137 330.5);
Tailwind
colors: {
  custom: {
    50: '#e1a7da',
    500: '#d281ca',
    950: '#000000',
  },
}
SCSS
$custom: #d281ca;
$custom-light: #e1a7da;
$custom-dark: #000000;
JSON
{
  "hex": "#d281ca",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 305.926,
    "s": 47.368,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7126,
    "c": 0.13654,
    "h": 330.5
  },
  "luminance": 0.33666
}

Semantic roles & 50–950 ramp

primary
#D281CA
secondary
#CAE5CD
accent
#BB392B
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #D281CA

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

Preview Lab → · Contrast checker → · Palette generator →

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