#8054EA#8054EA

#8054EA is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.215 H 291.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8054EA
RGBrgb(128, 84, 234)
HSLhsl(258, 78%, 62%)
HSVhsv(258, 64%, 92%)
CMYKcmyk(45.3%, 64.1%, 0%, 8.2%)
CIE-LABlab(48.10, 52.09, -69.71)
CIE-LCHlch(48.10, 87.02, 306.77°)
OKLaboklab(57.5% 0.0794 -0.1994)
OKLCHoklch(57.5% 0.215 291.7)
XYZxyz(26.9196, 16.8694, 79.6637)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8054EA #BEEA54
analogous
#5473EA #8054EA #CB54EA
triadic
#8054EA #EA8054 #54EA80
tetradic
#8054EA #EA5473 #BEEA54 #54EACB
square
#8054EA #EA5473 #BEEA54 #54EACB
split-complementary
#8054EA #EACB54 #73EA54
monochromatic
#4215AE #581DE3 #8054EA #A88BF1 #D1C1F7

Accessibility & contrast

On white

4.80
#8054EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8054EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8054EA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8054EA#FFFFFF#000000##FFFFFF
##8054EA1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#607898
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8054ea;
/* rgb */ color: rgb(128, 84, 234);
/* oklch */ color: oklch(57.5% 0.215 291.7);
Tailwind
colors: {
  custom: {
    50: '#ac86f2',
    500: '#8054ea',
    950: '#000000',
  },
}
SCSS
$custom: #8054ea;
$custom-light: #ac86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8054ea",
  "rgb": {
    "r": 128,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 257.6,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57499,
    "c": 0.21463,
    "h": 291.7
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#8054EA
secondary
#D8E8B2
accent
#DA0B9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8054EA

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

Preview Lab → · Contrast checker → · Palette generator →

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