#D287DB#D287DB

#D287DB is a light, vivid purple. Relative luminance 0.361; OKLCH L 72.9% C 0.143 H 323.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#D287DB
RGBrgb(210, 135, 219)
HSLhsl(294, 54%, 69%)
HSVhsv(294, 38%, 86%)
CMYKcmyk(4.1%, 38.4%, 0%, 14.1%)
CIE-LABlab(66.63, 42.08, -31.33)
CIE-LCHlch(66.63, 52.46, 323.33°)
OKLaboklab(72.93% 0.114 -0.0857)
OKLCHoklch(72.93% 0.143 323)
XYZxyz(48.0271, 36.1458, 71.4511)
Luminance0.3614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287DB #90DB87
analogous
#A887DB #D287DB #DB87BA
triadic
#D287DB #DBD287 #87DBD2
tetradic
#D287DB #DBA887 #90DB87 #87BADB
square
#D287DB #DBA887 #90DB87 #87BADB
split-complementary
#D287DB #BADB87 #87DBA8
monochromatic
#A535B2 #C058CD #D287DB #E4B6E9 #F5E5F7

Accessibility & contrast

On white

2.55
#D287DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#D287DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287DB
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287DB#FFFFFF#000000##000000
##D287DB1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9CDE
Deuteranopia (green-blind)
#91A5D8
Tritanopia (blue-blind)
#D590A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d287db;
/* rgb */ color: rgb(210, 135, 219);
/* oklch */ color: oklch(72.9% 0.143 323.0);
Tailwind
colors: {
  custom: {
    50: '#e1abe6',
    500: '#d287db',
    950: '#000000',
  },
}
SCSS
$custom: #d287db;
$custom-light: #e1abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#d287db",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 293.571,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72932,
    "c": 0.14259,
    "h": 323
  },
  "luminance": 0.36144
}

Semantic roles & 50–950 ramp

primary
#D287DB
secondary
#D5EBD3
accent
#C12435
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D287DB

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

Preview Lab → · Contrast checker → · Palette generator →

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