#D287DF#D287DF

#D287DF is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.1% C 0.147 H 321.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#D287DF
RGBrgb(210, 135, 223)
HSLhsl(291, 58%, 70%)
HSVhsv(291, 39%, 87%)
CMYKcmyk(5.8%, 39.5%, 0%, 12.5%)
CIE-LABlab(66.79, 42.85, -33.30)
CIE-LCHlch(66.79, 54.26, 322.15°)
OKLaboklab(73.11% 0.1148 -0.0913)
OKLCHoklch(73.11% 0.147 321.5)
XYZxyz(48.5600, 36.3590, 74.2578)
Luminance0.3636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287DF #94DF87
analogous
#A687DF #D287DF #DF87C0
triadic
#D287DF #DFD287 #87DFD2
tetradic
#D287DF #DFA687 #94DF87 #87C0DF
square
#D287DF #DFA687 #94DF87 #87C0DF
split-complementary
#D287DF #C0DF87 #87DFA6
monochromatic
#A632BA #C057D2 #D287DF #E4B7EC #F6E7F9

Accessibility & contrast

On white

2.54
#D287DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#D287DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287DF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287DF#FFFFFF#000000##000000
##D287DF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9DE2
Deuteranopia (green-blind)
#90A5DC
Tritanopia (blue-blind)
#D491A9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d287df;
/* rgb */ color: rgb(210, 135, 223);
/* oklch */ color: oklch(73.1% 0.147 321.5);
Tailwind
colors: {
  custom: {
    50: '#e1abe9',
    500: '#d287df',
    950: '#000000',
  },
}
SCSS
$custom: #d287df;
$custom-light: #e1abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#d287df",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 291.136,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73107,
    "c": 0.1467,
    "h": 321.5
  },
  "luminance": 0.36357
}

Semantic roles & 50–950 ramp

primary
#D287DF
secondary
#D8EDD5
accent
#C52038
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D287DF

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

Preview Lab → · Contrast checker → · Palette generator →

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