#8054DC#8054DC

#8054DC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.198 H 294.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8054DC
RGBrgb(128, 84, 220)
HSLhsl(259, 66%, 60%)
HSVhsv(259, 62%, 86%)
CMYKcmyk(41.8%, 61.8%, 0%, 13.7%)
CIE-LABlab(47.10, 48.32, -63.40)
CIE-LCHlch(47.10, 79.71, 307.31°)
OKLaboklab(56.47% 0.0806 -0.1808)
OKLCHoklch(56.47% 0.198 294)
XYZxyz(24.9872, 16.0965, 69.4867)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8054DC #B0DC54
analogous
#546CDC #8054DC #C454DC
triadic
#8054DC #DC8054 #54DC80
tetradic
#8054DC #DC546C #B0DC54 #54DCC4
square
#8054DC #DC546C #B0DC54 #54DCC4
split-complementary
#8054DC #DCC454 #6CDC54
monochromatic
#461F97 #5D29CA #8054DC #A687E6 #CBBAF1

Accessibility & contrast

On white

4.98
#8054DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8054DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8054DC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8054DC#FFFFFF#000000##FFFFFF
##8054DC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#677390
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8054dc;
/* rgb */ color: rgb(128, 84, 220);
/* oklch */ color: oklch(56.5% 0.198 294.0);
Tailwind
colors: {
  custom: {
    50: '#ab86e8',
    500: '#8054dc',
    950: '#000000',
  },
}
SCSS
$custom: #8054dc;
$custom-light: #ab86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8054dc",
  "rgb": {
    "r": 128,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 259.412,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.198,
    "h": 294
  },
  "luminance": 0.16097
}

Semantic roles & 50–950 ramp

primary
#8054DC
secondary
#CFE0AC
accent
#E93FB2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8054DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8054DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva