#DC84FB#DC84FB

#DC84FB is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.0% C 0.186 H 316.7°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#DC84FB
RGBrgb(220, 132, 251)
HSLhsl(284, 94%, 75%)
HSVhsv(284, 47%, 98%)
CMYKcmyk(12.4%, 47.4%, 0%, 1.6%)
CIE-LABlab(68.52, 52.78, -45.92)
CIE-LCHlch(68.52, 69.96, 318.97°)
OKLaboklab(75.05% 0.1354 -0.1274)
OKLCHoklch(75.05% 0.186 316.7)
XYZxyz(55.1765, 38.6849, 95.8085)
Luminance0.3868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC84FB #A3FB84
analogous
#A184FB #DC84FB #FB84DE
triadic
#DC84FB #FBDC84 #84FBDC
tetradic
#DC84FB #FBA184 #A3FB84 #84DEFB
square
#DC84FB #FBA184 #A3FB84 #84DEFB
split-complementary
#DC84FB #DEFB84 #84FBA1
monochromatic
#BA0DF7 #CB49F9 #DC84FB #EDBFFD #F7E1FE

Accessibility & contrast

On white

2.40
#DC84FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#DC84FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC84FB
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC84FB#FFFFFF#000000##000000
##DC84FB1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#DB95B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #dc84fb;
/* rgb */ color: rgb(220, 132, 251);
/* oklch */ color: oklch(75.0% 0.186 316.7);
Tailwind
colors: {
  custom: {
    50: '#e9aafd',
    500: '#dc84fb',
    950: '#000000',
  },
}
SCSS
$custom: #dc84fb;
$custom-light: #e9aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc84fb",
  "rgb": {
    "r": 220,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 284.37,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75045,
    "c": 0.18587,
    "h": 316.7
  },
  "luminance": 0.38683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC84FB

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

Preview Lab → · Contrast checker → · Palette generator →

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