#D286EF#D286EF

#D286EF is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.7% C 0.165 H 316.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#D286EF
RGBrgb(210, 134, 239)
HSLhsl(283, 77%, 73%)
HSVhsv(283, 44%, 94%)
CMYKcmyk(12.1%, 43.9%, 0%, 6.3%)
CIE-LABlab(67.27, 46.55, -41.39)
CIE-LCHlch(67.27, 62.29, 318.35°)
OKLaboklab(73.69% 0.1193 -0.1145)
OKLCHoklch(73.69% 0.165 316.2)
XYZxyz(50.6811, 36.9852, 86.1137)
Luminance0.3698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D286EF #A3EF86
analogous
#9D86EF #D286EF #EF86D7
triadic
#D286EF #EFD286 #86EFD2
tetradic
#D286EF #EF9D86 #A3EF86 #86D7EF
square
#D286EF #EF9D86 #A3EF86 #86D7EF
split-complementary
#D286EF #D7EF86 #86EF9D
monochromatic
#A81DDD #BE50E8 #D286EF #E6BCF6 #F5E4FB

Accessibility & contrast

On white

2.50
#D286EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#D286EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D286EF
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D286EF#FFFFFF#000000##000000
##D286EF1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#D195AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d286ef;
/* rgb */ color: rgb(210, 134, 239);
/* oklch */ color: oklch(73.7% 0.165 316.2);
Tailwind
colors: {
  custom: {
    50: '#e1abf4',
    500: '#d286ef',
    950: '#000000',
  },
}
SCSS
$custom: #d286ef;
$custom-light: #e1abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d286ef",
  "rgb": {
    "r": 210,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 283.429,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73685,
    "c": 0.16534,
    "h": 316.2
  },
  "luminance": 0.36984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D286EF

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

Preview Lab → · Contrast checker → · Palette generator →

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