#8054E5#8054E5

#8054E5 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.1% C 0.209 H 292.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8054E5
RGBrgb(128, 84, 229)
HSLhsl(258, 74%, 61%)
HSVhsv(258, 63%, 90%)
CMYKcmyk(44.1%, 63.3%, 0%, 10.2%)
CIE-LABlab(47.73, 50.74, -67.47)
CIE-LCHlch(47.73, 84.42, 306.94°)
OKLaboklab(57.13% 0.0799 -0.1928)
OKLCHoklch(57.13% 0.209 292.5)
XYZxyz(26.2114, 16.5862, 75.9340)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8054E5 #B9E554
analogous
#5471E5 #8054E5 #C954E5
triadic
#8054E5 #E58054 #54E580
tetradic
#8054E5 #E55471 #B9E554 #54E5C9
square
#8054E5 #E55471 #B9E554 #54E5C9
split-complementary
#8054E5 #E5C954 #71E554
monochromatic
#4419A5 #5921DB #8054E5 #A789ED #CFBEF5

Accessibility & contrast

On white

4.86
#8054E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8054E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8054E5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8054E5#FFFFFF#000000##FFFFFF
##8054E51.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#637695
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8054e5;
/* rgb */ color: rgb(128, 84, 229);
/* oklch */ color: oklch(57.1% 0.209 292.5);
Tailwind
colors: {
  custom: {
    50: '#ac86ee',
    500: '#8054e5',
    950: '#000000',
  },
}
SCSS
$custom: #8054e5;
$custom-light: #ac86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8054e5",
  "rgb": {
    "r": 128,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 258.207,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57125,
    "c": 0.20872,
    "h": 292.5
  },
  "luminance": 0.16587
}

Semantic roles & 50–950 ramp

primary
#8054E5
secondary
#D5E6AF
accent
#D6109A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8054E5

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

Preview Lab → · Contrast checker → · Palette generator →

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