#D286EC#D286EC

#D286EC is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.5% C 0.162 H 317.1°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#D286EC
RGBrgb(210, 134, 236)
HSLhsl(285, 73%, 73%)
HSVhsv(285, 43%, 93%)
CMYKcmyk(11%, 43.2%, 0%, 7.5%)
CIE-LABlab(67.13, 45.94, -39.95)
CIE-LCHlch(67.13, 60.88, 318.99°)
OKLaboklab(73.54% 0.1187 -0.1104)
OKLCHoklch(73.54% 0.162 317.1)
XYZxyz(50.2416, 36.8094, 83.7990)
Luminance0.3681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D286EC #A0EC86
analogous
#9F86EC #D286EC #EC86D3
triadic
#D286EC #ECD286 #86ECD2
tetradic
#D286EC #EC9F86 #A0EC86 #86D3EC
square
#D286EC #EC9F86 #A0EC86 #86D3EC
split-complementary
#D286EC #D3EC86 #86EC9F
monochromatic
#A822D6 #BE51E4 #D286EC #E6BBF4 #F5E5FB

Accessibility & contrast

On white

2.51
#D286EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#D286EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D286EC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D286EC#FFFFFF#000000##000000
##D286EC1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF0
Deuteranopia (green-blind)
#89A6E9
Tritanopia (blue-blind)
#D194AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d286ec;
/* rgb */ color: rgb(210, 134, 236);
/* oklch */ color: oklch(73.5% 0.162 317.1);
Tailwind
colors: {
  custom: {
    50: '#e1abf2',
    500: '#d286ec',
    950: '#000000',
  },
}
SCSS
$custom: #d286ec;
$custom-light: #e1abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d286ec",
  "rgb": {
    "r": 210,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 284.706,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73543,
    "c": 0.16211,
    "h": 317.1
  },
  "luminance": 0.36808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D286EC

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

Preview Lab → · Contrast checker → · Palette generator →

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