#DF86FC#DF86FC

#DF86FC is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.7% C 0.185 H 317.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#DF86FC
RGBrgb(223, 134, 252)
HSLhsl(285, 95%, 76%)
HSVhsv(285, 47%, 99%)
CMYKcmyk(11.5%, 46.8%, 0%, 1.2%)
CIE-LABlab(69.30, 52.78, -45.22)
CIE-LCHlch(69.30, 69.50, 319.41°)
OKLaboklab(75.72% 0.1363 -0.1253)
OKLCHoklch(75.72% 0.185 317.4)
XYZxyz(56.5247, 39.7683, 96.7751)
Luminance0.3977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF86FC #A3FC86
analogous
#A486FC #DF86FC #FC86DE
triadic
#DF86FC #FCDF86 #86FCDF
tetradic
#DF86FC #FCA486 #A3FC86 #86DEFC
square
#DF86FC #FCA486 #A3FC86 #86DEFC
split-complementary
#DF86FC #DEFC86 #86FCA4
monochromatic
#BF0FF9 #CF4AFB #DF86FC #EFC2FD #F7E1FE

Accessibility & contrast

On white

2.35
#DF86FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#DF86FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF86FC
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF86FC#FFFFFF#000000##000000
##DF86FC1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#8AACF9
Tritanopia (blue-blind)
#DE97B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #df86fc;
/* rgb */ color: rgb(223, 134, 252);
/* oklch */ color: oklch(75.7% 0.185 317.4);
Tailwind
colors: {
  custom: {
    50: '#ebabfe',
    500: '#df86fc',
    950: '#000000',
  },
}
SCSS
$custom: #df86fc;
$custom-light: #ebabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#df86fc",
  "rgb": {
    "r": 223,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 285.254,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75716,
    "c": 0.18509,
    "h": 317.4
  },
  "luminance": 0.39766
}

Semantic roles & 50–950 ramp

primary
#DF86FC
secondary
#DDF6D5
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DF86FC

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

Preview Lab → · Contrast checker → · Palette generator →

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