#8A54C0#8A54C0

#8A54C0 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.166 H 304.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A54C0
RGBrgb(138, 84, 192)
HSLhsl(270, 46%, 54%)
HSVhsv(270, 56%, 75%)
CMYKcmyk(28.1%, 56.3%, 0%, 24.7%)
CIE-LABlab(46.38, 43.44, -48.42)
CIE-LCHlch(46.38, 65.05, 311.90°)
OKLaboklab(55.61% 0.0944 -0.1365)
OKLCHoklch(55.61% 0.166 304.7)
XYZxyz(23.1639, 15.5498, 51.6400)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A54C0 #8AC054
analogous
#5454C0 #8A54C0 #C054C0
triadic
#8A54C0 #C08A54 #54C08A
tetradic
#8A54C0 #C05454 #8AC054 #54C0C0
square
#8A54C0 #C05454 #8AC054 #54C0C0
split-complementary
#8A54C0 #C0C054 #54C054
monochromatic
#4D2970 #6B3A9D #8A54C0 #A981D0 #C7ADE1

Accessibility & contrast

On white

5.11
#8A54C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8A54C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A54C0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A54C0#FFFFFF#000000##FFFFFF
##8A54C01.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC4
Deuteranopia (green-blind)
#3F6EBD
Tritanopia (blue-blind)
#816982
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a54c0;
/* rgb */ color: rgb(138, 84, 192);
/* oklch */ color: oklch(55.6% 0.166 304.7);
Tailwind
colors: {
  custom: {
    50: '#af86d3',
    500: '#8a54c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a54c0;
$custom-light: #af86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a54c0",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 270,
    "s": 46.154,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55609,
    "c": 0.16598,
    "h": 304.7
  },
  "luminance": 0.1555
}

Semantic roles & 50–950 ramp

primary
#8A54C0
secondary
#B8CFA1
accent
#D65294
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A54C0

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

Preview Lab → · Contrast checker → · Palette generator →

#8A54C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva