#D286FB#D286FB

#D286FB is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.3% C 0.178 H 312.7°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#D286FB
RGBrgb(210, 134, 251)
HSLhsl(279, 94%, 75%)
HSVhsv(279, 47%, 98%)
CMYKcmyk(16.3%, 46.6%, 0%, 1.6%)
CIE-LABlab(67.81, 49.02, -47.12)
CIE-LCHlch(67.81, 67.99, 316.13°)
OKLaboklab(74.27% 0.121 -0.1311)
OKLCHoklch(74.27% 0.178 312.7)
XYZxyz(52.5131, 37.7180, 95.7621)
Luminance0.3772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D286FB #AFFB86
analogous
#9786FB #D286FB #FB86EA
triadic
#D286FB #FBD286 #86FBD2
tetradic
#D286FB #FB9786 #AFFB86 #86EAFB
square
#D286FB #FB9786 #AFFB86 #86EAFB
split-complementary
#D286FB #EAFB86 #86FB97
monochromatic
#A610F7 #BC4BF9 #D286FB #E8C1FD #F4E1FE

Accessibility & contrast

On white

2.46
#D286FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#D286FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D286FB
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D286FB#FFFFFF#000000##000000
##D286FB1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#CE98B5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d286fb;
/* rgb */ color: rgb(210, 134, 251);
/* oklch */ color: oklch(74.3% 0.178 312.7);
Tailwind
colors: {
  custom: {
    50: '#e2abfd',
    500: '#d286fb',
    950: '#000000',
  },
}
SCSS
$custom: #d286fb;
$custom-light: #e2abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d286fb",
  "rgb": {
    "r": 210,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 278.974,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74272,
    "c": 0.1784,
    "h": 312.7
  },
  "luminance": 0.37717
}

Semantic roles & 50–950 ramp

primary
#D286FB
secondary
#E1F6D5
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D286FB

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

Preview Lab → · Contrast checker → · Palette generator →

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