#DC81FC#DC81FC

#DC81FC is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.7% C 0.192 H 316.7°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#DC81FC
RGBrgb(220, 129, 252)
HSLhsl(284, 95%, 75%)
HSVhsv(284, 49%, 99%)
CMYKcmyk(12.7%, 48.8%, 0%, 1.2%)
CIE-LABlab(67.98, 54.50, -47.32)
CIE-LCHlch(67.98, 72.18, 319.03°)
OKLaboklab(74.66% 0.1395 -0.1314)
OKLCHoklch(74.66% 0.192 316.7)
XYZxyz(54.9336, 37.9462, 96.5072)
Luminance0.3794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC81FC #A1FC81
analogous
#9E81FC #DC81FC #FC81DF
triadic
#DC81FC #FCDC81 #81FCDC
tetradic
#DC81FC #FC9E81 #A1FC81 #81DFFC
square
#DC81FC #FC9E81 #A1FC81 #81DFFC
split-complementary
#DC81FC #DFFC81 #81FC9E
monochromatic
#BB09F9 #CB45FB #DC81FC #EDBDFD #F7E1FE

Accessibility & contrast

On white

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

On black

8.59
#DC81FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC81FC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC81FC#FFFFFF#000000##000000
##DC81FC1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#84A9F9
Tritanopia (blue-blind)
#DB93B3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #dc81fc;
/* rgb */ color: rgb(220, 129, 252);
/* oklch */ color: oklch(74.7% 0.192 316.7);
Tailwind
colors: {
  custom: {
    50: '#e9a8fe',
    500: '#dc81fc',
    950: '#000000',
  },
}
SCSS
$custom: #dc81fc;
$custom-light: #e9a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc81fc",
  "rgb": {
    "r": 220,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 284.39,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74659,
    "c": 0.19166,
    "h": 316.7
  },
  "luminance": 0.37944
}

Semantic roles & 50–950 ramp

primary
#DC81FC
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DC81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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