#8054DD#8054DD

#8054DD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.5% C 0.199 H 293.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8054DD
RGBrgb(128, 84, 221)
HSLhsl(259, 67%, 60%)
HSVhsv(259, 62%, 87%)
CMYKcmyk(42.1%, 62%, 0%, 13.3%)
CIE-LABlab(47.17, 48.59, -63.85)
CIE-LCHlch(47.17, 80.24, 307.27°)
OKLaboklab(56.54% 0.0806 -0.1822)
OKLCHoklch(56.54% 0.199 293.9)
XYZxyz(25.1200, 16.1496, 70.1863)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8054DD #B1DD54
analogous
#546DDD #8054DD #C454DD
triadic
#8054DD #DD8054 #54DD80
tetradic
#8054DD #DD546D #B1DD54 #54DDC4
square
#8054DD #DD546D #B1DD54 #54DDC4
split-complementary
#8054DD #DDC454 #6DDD54
monochromatic
#451E98 #5D28CB #8054DD #A687E7 #CCBAF1

Accessibility & contrast

On white

4.96
#8054DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8054DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8054DD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8054DD#FFFFFF#000000##FFFFFF
##8054DD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#677391
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8054dd;
/* rgb */ color: rgb(128, 84, 221);
/* oklch */ color: oklch(56.5% 0.199 293.9);
Tailwind
colors: {
  custom: {
    50: '#ab86e8',
    500: '#8054dd',
    950: '#000000',
  },
}
SCSS
$custom: #8054dd;
$custom-light: #ab86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8054dd",
  "rgb": {
    "r": 128,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 259.27,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56538,
    "c": 0.1992,
    "h": 293.9
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#8054DD
secondary
#D0E1AC
accent
#EA3EB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8054DD

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

Preview Lab → · Contrast checker → · Palette generator →

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