#8A55BC#8A55BC

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

Color values

HEX#8A55BC
RGBrgb(138, 85, 188)
HSLhsl(271, 43%, 54%)
HSVhsv(271, 55%, 74%)
CMYKcmyk(26.6%, 54.8%, 0%, 26.3%)
CIE-LABlab(46.35, 41.93, -46.14)
CIE-LCHlch(46.35, 62.34, 312.26°)
OKLaboklab(55.52% 0.0929 -0.1299)
OKLCHoklch(55.52% 0.16 305.6)
XYZxyz(22.8049, 15.5313, 49.3636)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55BC #87BC55
analogous
#5655BC #8A55BC #BC55BA
triadic
#8A55BC #BC8A55 #55BC8A
tetradic
#8A55BC #BC5655 #87BC55 #55BABC
square
#8A55BC #BC5655 #87BC55 #55BABC
split-complementary
#8A55BC #BABC55 #55BC56
monochromatic
#4C2B6C #6B3C98 #8A55BC #A881CD #C6ADDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A55BC#FFFFFF#000000##FFFFFF
##8A55BC1.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)
#316CBF
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#826880
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a55bc;
/* rgb */ color: rgb(138, 85, 188);
/* oklch */ color: oklch(55.5% 0.160 305.6);
Tailwind
colors: {
  custom: {
    50: '#af87d1',
    500: '#8a55bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a55bc;
$custom-light: #af87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55bc",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 270.874,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55515,
    "c": 0.15967,
    "h": 305.6
  },
  "luminance": 0.15531
}

Semantic roles & 50–950 ramp

primary
#8A55BC
secondary
#B6CCA0
accent
#D35592
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8A55BC

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

Preview Lab → · Contrast checker → · Palette generator →

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