#DC81F8#DC81F8

#DC81F8 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.5% C 0.188 H 317.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#DC81F8
RGBrgb(220, 129, 248)
HSLhsl(286, 89%, 74%)
HSVhsv(286, 48%, 97%)
CMYKcmyk(11.3%, 48%, 0%, 2.7%)
CIE-LABlab(67.80, 53.71, -45.42)
CIE-LCHlch(67.80, 70.34, 319.78°)
OKLaboklab(74.46% 0.139 -0.1259)
OKLCHoklch(74.46% 0.188 317.8)
XYZxyz(54.3064, 37.6953, 93.2040)
Luminance0.3769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC81F8 #9DF881
analogous
#A181F8 #DC81F8 #F881D9
triadic
#DC81F8 #F8DC81 #81F8DC
tetradic
#DC81F8 #F8A181 #9DF881 #81D9F8
square
#DC81F8 #F8A181 #9DF881 #81D9F8
split-complementary
#DC81F8 #D9F881 #81F8A1
monochromatic
#BC0DF1 #CC47F5 #DC81F8 #ECBBFB #F7E2FD

Accessibility & contrast

On white

2.46
#DC81F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#DC81F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC81F8
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC81F8#FFFFFF#000000##000000
##DC81F81.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFC
Deuteranopia (green-blind)
#86A8F5
Tritanopia (blue-blind)
#DC92B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #dc81f8;
/* rgb */ color: rgb(220, 129, 248);
/* oklch */ color: oklch(74.5% 0.188 317.8);
Tailwind
colors: {
  custom: {
    50: '#e9a8fb',
    500: '#dc81f8',
    950: '#000000',
  },
}
SCSS
$custom: #dc81f8;
$custom-light: #e9a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc81f8",
  "rgb": {
    "r": 220,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 285.882,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74461,
    "c": 0.18756,
    "h": 317.8
  },
  "luminance": 0.37693
}

Semantic roles & 50–950 ramp

primary
#DC81F8
secondary
#DDF5D6
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC81F8

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

Preview Lab → · Contrast checker → · Palette generator →

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