#8054EE#8054EE

#8054EE is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.219 H 291.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8054EE
RGBrgb(128, 84, 238)
HSLhsl(257, 82%, 63%)
HSVhsv(257, 65%, 93%)
CMYKcmyk(46.2%, 64.7%, 0%, 6.7%)
CIE-LABlab(48.39, 53.17, -71.48)
CIE-LCHlch(48.39, 89.09, 306.64°)
OKLaboklab(57.8% 0.079 -0.2046)
OKLCHoklch(57.8% 0.219 291.1)
XYZxyz(27.5007, 17.1019, 82.7243)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8054EE #C2EE54
analogous
#5475EE #8054EE #CD54EE
triadic
#8054EE #EE8054 #54EE80
tetradic
#8054EE #EE5475 #C2EE54 #54EECD
square
#8054EE #EE5475 #C2EE54 #54EECD
split-complementary
#8054EE #EECD54 #75EE54
monochromatic
#4112B6 #571CE8 #8054EE #A98CF4 #D3C3F9

Accessibility & contrast

On white

4.75
#8054EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8054EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8054EE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8054EE#FFFFFF#000000##FFFFFF
##8054EE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#5E799A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8054ee;
/* rgb */ color: rgb(128, 84, 238);
/* oklch */ color: oklch(57.8% 0.219 291.1);
Tailwind
colors: {
  custom: {
    50: '#ad87f5',
    500: '#8054ee',
    950: '#000000',
  },
}
SCSS
$custom: #8054ee;
$custom-light: #ad87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8054ee",
  "rgb": {
    "r": 128,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 257.143,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57803,
    "c": 0.21932,
    "h": 291.1
  },
  "luminance": 0.17103
}

Semantic roles & 50–950 ramp

primary
#8054EE
secondary
#DBEAB3
accent
#DE07A1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8054EE

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

Preview Lab → · Contrast checker → · Palette generator →

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