#D287EE#D287EE

#D287EE is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.8% C 0.163 H 316.4°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#D287EE
RGBrgb(210, 135, 238)
HSLhsl(284, 75%, 73%)
HSVhsv(284, 43%, 93%)
CMYKcmyk(11.8%, 43.3%, 0%, 6.7%)
CIE-LABlab(67.43, 45.82, -40.59)
CIE-LCHlch(67.43, 61.21, 318.46°)
OKLaboklab(73.79% 0.1177 -0.1122)
OKLCHoklch(73.79% 0.163 316.4)
XYZxyz(50.6726, 37.2040, 85.3841)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287EE #A3EE87
analogous
#9E87EE #D287EE #EE87D6
triadic
#D287EE #EED287 #87EED2
tetradic
#D287EE #EE9E87 #A3EE87 #87D6EE
square
#D287EE #EE9E87 #A3EE87 #87D6EE
split-complementary
#D287EE #D6EE87 #87EE9E
monochromatic
#A81FDC #BE51E6 #D287EE #E6BDF6 #F5E4FB

Accessibility & contrast

On white

2.49
#D287EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#D287EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287EE
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287EE#FFFFFF#000000##000000
##D287EE1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F2
Deuteranopia (green-blind)
#89A7EB
Tritanopia (blue-blind)
#D195AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d287ee;
/* rgb */ color: rgb(210, 135, 238);
/* oklch */ color: oklch(73.8% 0.163 316.4);
Tailwind
colors: {
  custom: {
    50: '#e1abf4',
    500: '#d287ee',
    950: '#000000',
  },
}
SCSS
$custom: #d287ee;
$custom-light: #e1abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d287ee",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 283.689,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73793,
    "c": 0.1626,
    "h": 316.4
  },
  "luminance": 0.37203
}

Semantic roles & 50–950 ramp

primary
#D287EE
secondary
#DFF3D8
accent
#D70E45
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D287EE

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

Preview Lab → · Contrast checker → · Palette generator →

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