#8054DA#8054DA

#8054DA is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.3% C 0.196 H 294.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8054DA
RGBrgb(128, 84, 218)
HSLhsl(260, 64%, 59%)
HSVhsv(260, 61%, 85%)
CMYKcmyk(41.3%, 61.5%, 0%, 14.5%)
CIE-LABlab(46.96, 47.78, -62.48)
CIE-LCHlch(46.96, 78.66, 307.41°)
OKLaboklab(56.32% 0.0808 -0.1781)
OKLCHoklch(56.32% 0.196 294.4)
XYZxyz(24.7239, 15.9912, 68.1000)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8054DA #AEDA54
analogous
#546BDA #8054DA #C354DA
triadic
#8054DA #DA8054 #54DA80
tetradic
#8054DA #DA546B #AEDA54 #54DAC3
square
#8054DA #DA546B #AEDA54 #54DAC3
split-complementary
#8054DA #DAC354 #6BDA54
monochromatic
#462094 #5E2BC6 #8054DA #A586E5 #CBB9F0

Accessibility & contrast

On white

5.00
#8054DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8054DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8054DA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8054DA#FFFFFF#000000##FFFFFF
##8054DA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#68728F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8054da;
/* rgb */ color: rgb(128, 84, 218);
/* oklch */ color: oklch(56.3% 0.196 294.4);
Tailwind
colors: {
  custom: {
    50: '#ab86e6',
    500: '#8054da',
    950: '#000000',
  },
}
SCSS
$custom: #8054da;
$custom-light: #ab86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8054da",
  "rgb": {
    "r": 128,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 259.701,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56322,
    "c": 0.1956,
    "h": 294.4
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

primary
#8054DA
secondary
#CEDFAB
accent
#E740B1
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8054DA

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

Preview Lab → · Contrast checker → · Palette generator →

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