#8A55BA#8A55BA

#8A55BA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.4% C 0.157 H 306.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A55BA
RGBrgb(138, 85, 186)
HSLhsl(271, 42%, 53%)
HSVhsv(271, 54%, 73%)
CMYKcmyk(25.8%, 54.3%, 0%, 27.1%)
CIE-LABlab(46.24, 41.45, -45.16)
CIE-LCHlch(46.24, 61.30, 312.55°)
OKLaboklab(55.39% 0.0928 -0.127)
OKLCHoklch(55.39% 0.157 306.2)
XYZxyz(22.5908, 15.4456, 48.2360)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55BA #85BA55
analogous
#5755BA #8A55BA #BA55B7
triadic
#8A55BA #BA8A55 #55BA8A
tetradic
#8A55BA #BA5755 #85BA55 #55B7BA
square
#8A55BA #BA5755 #85BA55 #55B7BA
split-complementary
#8A55BA #B7BA55 #55BA57
monochromatic
#4C2B6A #6B3D95 #8A55BA #A881CC #C6ACDD

Accessibility & contrast

On white

5.14
#8A55BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8A55BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55BA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55BA#FFFFFF#000000##FFFFFF
##8A55BA1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#82687F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a55ba;
/* rgb */ color: rgb(138, 85, 186);
/* oklch */ color: oklch(55.4% 0.157 306.2);
Tailwind
colors: {
  custom: {
    50: '#af87cf',
    500: '#8a55ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a55ba;
$custom-light: #af87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55ba",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 271.485,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.15728,
    "h": 306.2
  },
  "luminance": 0.15445
}

Semantic roles & 50–950 ramp

primary
#8A55BA
secondary
#B4CBA0
accent
#D25691
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8A55BA

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

Preview Lab → · Contrast checker → · Palette generator →

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