#D286DF#D286DF

#D286DF is a light, vivid purple. Relative luminance 0.361; OKLCH L 72.9% C 0.148 H 321.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#D286DF
RGBrgb(210, 134, 223)
HSLhsl(291, 58%, 70%)
HSVhsv(291, 40%, 87%)
CMYKcmyk(5.8%, 39.9%, 0%, 12.5%)
CIE-LABlab(66.58, 43.38, -33.63)
CIE-LCHlch(66.58, 54.88, 322.22°)
OKLaboklab(72.95% 0.1163 -0.0922)
OKLCHoklch(72.95% 0.148 321.6)
XYZxyz(48.4212, 36.0813, 74.2115)
Luminance0.3608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D286DF #93DF86
analogous
#A686DF #D286DF #DF86BF
triadic
#D286DF #DFD286 #86DFD2
tetradic
#D286DF #DFA686 #93DF86 #86BFDF
square
#D286DF #DFA686 #93DF86 #86BFDF
split-complementary
#D286DF #BFDF86 #86DFA6
monochromatic
#A631BA #C056D2 #D286DF #E4B6EC #F6E7F9

Accessibility & contrast

On white

2.56
#D286DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#D286DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D286DF
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D286DF#FFFFFF#000000##000000
##D286DF1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9CE2
Deuteranopia (green-blind)
#8FA5DC
Tritanopia (blue-blind)
#D490A8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d286df;
/* rgb */ color: rgb(210, 134, 223);
/* oklch */ color: oklch(72.9% 0.148 321.6);
Tailwind
colors: {
  custom: {
    50: '#e1abe9',
    500: '#d286df',
    950: '#000000',
  },
}
SCSS
$custom: #d286df;
$custom-light: #e1abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#d286df",
  "rgb": {
    "r": 210,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 291.236,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.72948,
    "c": 0.14841,
    "h": 321.6
  },
  "luminance": 0.3608
}

Semantic roles & 50–950 ramp

primary
#D286DF
secondary
#D8EDD4
accent
#C62038
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D286DF

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

Preview Lab → · Contrast checker → · Palette generator →

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