#8A55BD#8A55BD

#8A55BD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.161 H 305.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8A55BD
RGBrgb(138, 85, 189)
HSLhsl(271, 44%, 54%)
HSVhsv(271, 55%, 74%)
CMYKcmyk(27%, 55%, 0%, 25.9%)
CIE-LABlab(46.41, 42.17, -46.63)
CIE-LCHlch(46.41, 62.87, 312.13°)
OKLaboklab(55.58% 0.093 -0.1313)
OKLCHoklch(55.58% 0.161 305.3)
XYZxyz(22.9131, 15.5745, 49.9333)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55BD #88BD55
analogous
#5655BD #8A55BD #BD55BC
triadic
#8A55BD #BD8A55 #55BD8A
tetradic
#8A55BD #BD5655 #88BD55 #55BCBD
square
#8A55BD #BD5655 #88BD55 #55BCBD
split-complementary
#8A55BD #BCBD55 #55BD56
monochromatic
#4C2A6D #6B3C99 #8A55BD #A881CE #C7ADDF

Accessibility & contrast

On white

5.10
#8A55BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A55BD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55BD#FFFFFF#000000##FFFFFF
##8A55BD1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CC0
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#816881
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a55bd;
/* rgb */ color: rgb(138, 85, 189);
/* oklch */ color: oklch(55.6% 0.161 305.3);
Tailwind
colors: {
  custom: {
    50: '#af87d1',
    500: '#8a55bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a55bd;
$custom-light: #af87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55bd",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 270.577,
    "s": 44.068,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55577,
    "c": 0.16086,
    "h": 305.3
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#8A55BD
secondary
#B6CDA1
accent
#D45493
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8A55BD

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

Preview Lab → · Contrast checker → · Palette generator →

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