#D286F2#D286F2

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

Color values

HEX#D286F2
RGBrgb(210, 134, 242)
HSLhsl(282, 81%, 74%)
HSVhsv(282, 45%, 95%)
CMYKcmyk(13.2%, 44.6%, 0%, 5.1%)
CIE-LABlab(67.40, 47.16, -42.83)
CIE-LCHlch(67.40, 63.71, 317.75°)
OKLaboklab(73.83% 0.1197 -0.1187)
OKLCHoklch(73.83% 0.169 315.3)
XYZxyz(51.1280, 37.1640, 88.4672)
Luminance0.3716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D286F2 #A6F286
analogous
#9C86F2 #D286F2 #F286DC
triadic
#D286F2 #F2D286 #86F2D2
tetradic
#D286F2 #F29C86 #A6F286 #86DCF2
square
#D286F2 #F29C86 #A6F286 #86DCF2
split-complementary
#D286F2 #DCF286 #86F29C
monochromatic
#A819E5 #BD4FEC #D286F2 #E7BDF8 #F5E3FC

Accessibility & contrast

On white

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

On black

8.43
#D286F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D286F2
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D286F2#FFFFFF#000000##000000
##D286F21.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#D095B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d286f2;
/* rgb */ color: rgb(210, 134, 242);
/* oklch */ color: oklch(73.8% 0.169 315.3);
Tailwind
colors: {
  custom: {
    50: '#e1abf7',
    500: '#d286f2',
    950: '#000000',
  },
}
SCSS
$custom: #d286f2;
$custom-light: #e1abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d286f2",
  "rgb": {
    "r": 210,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 282.222,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73829,
    "c": 0.16858,
    "h": 315.3
  },
  "luminance": 0.37163
}

Semantic roles & 50–950 ramp

primary
#D286F2
secondary
#E0F4D7
accent
#DD0947
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D286F2

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

Preview Lab → · Contrast checker → · Palette generator →

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