#D286FE#D286FE

#D286FE is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.4% C 0.182 H 311.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#D286FE
RGBrgb(210, 134, 254)
HSLhsl(278, 98%, 76%)
HSVhsv(278, 47%, 100%)
CMYKcmyk(17.3%, 47.2%, 0%, 0.4%)
CIE-LABlab(67.95, 49.65, -48.53)
CIE-LCHlch(67.95, 69.43, 315.65°)
OKLaboklab(74.42% 0.1214 -0.1352)
OKLCHoklch(74.42% 0.182 311.9)
XYZxyz(52.9897, 37.9087, 98.2724)
Luminance0.3791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D286FE #B2FE86
analogous
#9686FE #D286FE #FE86EE
triadic
#D286FE #FED286 #86FED2
tetradic
#D286FE #FE9686 #B2FE86 #86EEFE
square
#D286FE #FE9686 #B2FE86 #86EEFE
split-complementary
#D286FE #EEFE86 #86FE96
monochromatic
#A50DFD #BB49FD #D286FE #E9C3FF #F4E1FF

Accessibility & contrast

On white

2.45
#D286FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#D286FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D286FE
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D286FE#FFFFFF#000000##000000
##D286FE1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#80A7FB
Tritanopia (blue-blind)
#CD99B6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d286fe;
/* rgb */ color: rgb(210, 134, 254);
/* oklch */ color: oklch(74.4% 0.182 311.9);
Tailwind
colors: {
  custom: {
    50: '#e2abff',
    500: '#d286fe',
    950: '#000000',
  },
}
SCSS
$custom: #d286fe;
$custom-light: #e2abff;
$custom-dark: #000000;
JSON
{
  "hex": "#d286fe",
  "rgb": {
    "r": 210,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 278,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74423,
    "c": 0.18171,
    "h": 311.9
  },
  "luminance": 0.37908
}

Semantic roles & 50–950 ramp

primary
#D286FE
secondary
#E1F7D4
accent
#E60054
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D286FE

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

Preview Lab → · Contrast checker → · Palette generator →

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