#D286FC#D286FC

#D286FC is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.3% C 0.180 H 312.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#D286FC
RGBrgb(210, 134, 252)
HSLhsl(279, 95%, 76%)
HSVhsv(279, 47%, 99%)
CMYKcmyk(16.7%, 46.8%, 0%, 1.2%)
CIE-LABlab(67.86, 49.23, -47.59)
CIE-LCHlch(67.86, 68.47, 315.97°)
OKLaboklab(74.32% 0.1212 -0.1324)
OKLCHoklch(74.32% 0.18 312.5)
XYZxyz(52.6711, 37.7812, 96.5944)
Luminance0.3778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D286FC #B0FC86
analogous
#9786FC #D286FC #FC86EB
triadic
#D286FC #FCD286 #86FCD2
tetradic
#D286FC #FC9786 #B0FC86 #86EBFC
square
#D286FC #FC9786 #B0FC86 #86EBFC
split-complementary
#D286FC #EBFC86 #86FC97
monochromatic
#A60FF9 #BC4AFB #D286FC #E8C2FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.56
#D286FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D286FC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D286FC#FFFFFF#000000##000000
##D286FC1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#CE98B5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d286fc;
/* rgb */ color: rgb(210, 134, 252);
/* oklch */ color: oklch(74.3% 0.180 312.5);
Tailwind
colors: {
  custom: {
    50: '#e2abfe',
    500: '#d286fc',
    950: '#000000',
  },
}
SCSS
$custom: #d286fc;
$custom-light: #e2abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d286fc",
  "rgb": {
    "r": 210,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 278.644,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74322,
    "c": 0.17951,
    "h": 312.5
  },
  "luminance": 0.3778
}

Semantic roles & 50–950 ramp

primary
#D286FC
secondary
#E1F6D5
accent
#E60052
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D286FC

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

Preview Lab → · Contrast checker → · Palette generator →

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