#D281CE#D281CE

#D281CE is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.4% C 0.140 H 328.7°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#D281CE
RGBrgb(210, 129, 206)
HSLhsl(303, 47%, 66%)
HSVhsv(303, 39%, 82%)
CMYKcmyk(0%, 38.6%, 1.9%, 17.6%)
CIE-LABlab(64.85, 42.83, -26.83)
CIE-LCHlch(64.85, 50.54, 327.94°)
OKLaboklab(71.43% 0.1198 -0.0729)
OKLCHoklch(71.43% 0.14 328.7)
XYZxyz(45.5684, 33.8605, 62.5160)
Luminance0.3386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D281CE #81D285
analogous
#AE81D2 #D281CE #D281A6
triadic
#D281CE #CED281 #81CED2
tetradic
#D281CE #D2AE81 #81D285 #81A6D2
square
#D281CE #D2AE81 #81D285 #81A6D2
split-complementary
#D281CE #A6D281 #81D2AE
monochromatic
#A0399B #C254BC #D281CE #E2AEE0 #F2DBF1

Accessibility & contrast

On white

2.70
#D281CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#D281CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D281CE
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D281CE#FFFFFF#000000##000000
##D281CE1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C97D1
Deuteranopia (green-blind)
#91A1CB
Tritanopia (blue-blind)
#D7889E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d281ce;
/* rgb */ color: rgb(210, 129, 206);
/* oklch */ color: oklch(71.4% 0.140 328.7);
Tailwind
colors: {
  custom: {
    50: '#e1a7dd',
    500: '#d281ce',
    950: '#000000',
  },
}
SCSS
$custom: #d281ce;
$custom-light: #e1a7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d281ce",
  "rgb": {
    "r": 210,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 302.963,
    "s": 47.368,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71425,
    "c": 0.14024,
    "h": 328.7
  },
  "luminance": 0.33858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D281CE

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

Preview Lab → · Contrast checker → · Palette generator →

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