#8054DB#8054DB

#8054DB is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.197 H 294.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8054DB
RGBrgb(128, 84, 219)
HSLhsl(260, 65%, 59%)
HSVhsv(260, 62%, 86%)
CMYKcmyk(41.6%, 61.6%, 0%, 14.1%)
CIE-LABlab(47.03, 48.05, -62.94)
CIE-LCHlch(47.03, 79.18, 307.36°)
OKLaboklab(56.39% 0.0807 -0.1795)
OKLCHoklch(56.39% 0.197 294.2)
XYZxyz(24.8552, 16.0437, 68.7913)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8054DB #AFDB54
analogous
#546CDB #8054DB #C454DB
triadic
#8054DB #DB8054 #54DB80
tetradic
#8054DB #DB546C #AFDB54 #54DBC4
square
#8054DB #DB546C #AFDB54 #54DBC4
split-complementary
#8054DB #DBC454 #6CDB54
monochromatic
#461F95 #5D2AC8 #8054DB #A687E6 #CBB9F0

Accessibility & contrast

On white

4.99
#8054DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8054DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8054DB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8054DB#FFFFFF#000000##FFFFFF
##8054DB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#687390
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8054db;
/* rgb */ color: rgb(128, 84, 219);
/* oklch */ color: oklch(56.4% 0.197 294.2);
Tailwind
colors: {
  custom: {
    50: '#ab86e7',
    500: '#8054db',
    950: '#000000',
  },
}
SCSS
$custom: #8054db;
$custom-light: #ab86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8054db",
  "rgb": {
    "r": 128,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 259.556,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56393,
    "c": 0.1968,
    "h": 294.2
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

primary
#8054DB
secondary
#CFE0AB
accent
#E840B1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8054DB

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

Preview Lab → · Contrast checker → · Palette generator →

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