#DC81FA#DC81FA

#DC81FA is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.6% C 0.190 H 317.3°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#DC81FA
RGBrgb(220, 129, 250)
HSLhsl(285, 92%, 74%)
HSVhsv(285, 48%, 98%)
CMYKcmyk(12%, 48.4%, 0%, 2%)
CIE-LABlab(67.89, 54.10, -46.37)
CIE-LCHlch(67.89, 71.26, 319.40°)
OKLaboklab(74.56% 0.1393 -0.1287)
OKLCHoklch(74.56% 0.19 317.3)
XYZxyz(54.6183, 37.8201, 94.8468)
Luminance0.3782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC81FA #9FFA81
analogous
#A081FA #DC81FA #FA81DC
triadic
#DC81FA #FADC81 #81FADC
tetradic
#DC81FA #FAA081 #9FFA81 #81DCFA
square
#DC81FA #FAA081 #9FFA81 #81DCFA
split-complementary
#DC81FA #DCFA81 #81FAA0
monochromatic
#BB0BF5 #CC46F8 #DC81FA #ECBCFC #F7E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC81FA#FFFFFF#000000##000000
##DC81FA1.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)
#6AA0FE
Deuteranopia (green-blind)
#85A8F7
Tritanopia (blue-blind)
#DB92B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #dc81fa;
/* rgb */ color: rgb(220, 129, 250);
/* oklch */ color: oklch(74.6% 0.190 317.3);
Tailwind
colors: {
  custom: {
    50: '#e9a8fc',
    500: '#dc81fa',
    950: '#000000',
  },
}
SCSS
$custom: #dc81fa;
$custom-light: #e9a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc81fa",
  "rgb": {
    "r": 220,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 285.124,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74559,
    "c": 0.18961,
    "h": 317.3
  },
  "luminance": 0.37818
}

Semantic roles & 50–950 ramp

primary
#DC81FA
secondary
#DDF6D5
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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