#DC81FB#DC81FB

#DC81FB is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.6% C 0.191 H 317.0°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#DC81FB
RGBrgb(220, 129, 251)
HSLhsl(285, 94%, 75%)
HSVhsv(285, 49%, 98%)
CMYKcmyk(12.4%, 48.6%, 0%, 1.6%)
CIE-LABlab(67.93, 54.30, -46.85)
CIE-LCHlch(67.93, 71.72, 319.22°)
OKLaboklab(74.61% 0.1394 -0.13)
OKLCHoklch(74.61% 0.191 317)
XYZxyz(54.7755, 37.8829, 95.6748)
Luminance0.3788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC81FB #A0FB81
analogous
#9F81FB #DC81FB #FB81DD
triadic
#DC81FB #FBDC81 #81FBDC
tetradic
#DC81FB #FB9F81 #A0FB81 #81DDFB
square
#DC81FB #FB9F81 #A0FB81 #81DDFB
split-complementary
#DC81FB #DDFB81 #81FB9F
monochromatic
#BB0AF7 #CC46F9 #DC81FB #ECBCFD #F7E1FE

Accessibility & contrast

On white

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

On black

8.58
#DC81FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC81FB
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC81FB#FFFFFF#000000##000000
##DC81FB1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc81fb;
/* rgb */ color: rgb(220, 129, 251);
/* oklch */ color: oklch(74.6% 0.191 317.0);
Tailwind
colors: {
  custom: {
    50: '#e9a8fd',
    500: '#dc81fb',
    950: '#000000',
  },
}
SCSS
$custom: #dc81fb;
$custom-light: #e9a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc81fb",
  "rgb": {
    "r": 220,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 284.754,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74609,
    "c": 0.19064,
    "h": 317
  },
  "luminance": 0.37881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC81FB

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

Preview Lab → · Contrast checker → · Palette generator →

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