#DC54EB#DC54EB

#DC54EB is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.2% C 0.241 H 323.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#DC54EB
RGBrgb(220, 84, 235)
HSLhsl(294, 79%, 63%)
HSVhsv(294, 64%, 92%)
CMYKcmyk(6.4%, 64.3%, 0%, 7.8%)
CIE-LABlab(59.49, 71.91, -51.36)
CIE-LCHlch(59.49, 88.37, 324.47°)
OKLaboklab(68.17% 0.1938 -0.1428)
OKLCHoklch(68.17% 0.241 323.6)
XYZxyz(47.6796, 27.5572, 81.3888)
Luminance0.2755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC54EB #63EB54
analogous
#9154EB #DC54EB #EB54AE
triadic
#DC54EB #EBDC54 #54EBDC
tetradic
#DC54EB #EB9154 #63EB54 #54AEEB
square
#DC54EB #EB9154 #63EB54 #54AEEB
split-complementary
#DC54EB #AEEB54 #54EB91
monochromatic
#A115B0 #D11DE5 #DC54EB #E78BF1 #F2C2F8

Accessibility & contrast

On white

3.23
#DC54EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#DC54EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC54EB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC54EB#FFFFFF#000000##000000
##DC54EB1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#6C95E7
Tritanopia (blue-blind)
#E06C99
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #dc54eb;
/* rgb */ color: rgb(220, 84, 235);
/* oklch */ color: oklch(68.2% 0.241 323.6);
Tailwind
colors: {
  custom: {
    50: '#ea8df2',
    500: '#dc54eb',
    950: '#000000',
  },
}
SCSS
$custom: #dc54eb;
$custom-light: #ea8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc54eb",
  "rgb": {
    "r": 220,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 294.04,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68168,
    "c": 0.24075,
    "h": 323.6
  },
  "luminance": 0.27554
}

Semantic roles & 50–950 ramp

primary
#DC54EB
secondary
#B7E9B2
accent
#DB0A1F
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D17
muted
#857E85

Preview Lab

Preview with #DC54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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