#8A55BB#8A55BB

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

Color values

HEX#8A55BB
RGBrgb(138, 85, 187)
HSLhsl(271, 43%, 53%)
HSVhsv(271, 55%, 73%)
CMYKcmyk(26.2%, 54.5%, 0%, 26.7%)
CIE-LABlab(46.30, 41.69, -45.65)
CIE-LCHlch(46.30, 61.82, 312.41°)
OKLaboklab(55.45% 0.0929 -0.1284)
OKLCHoklch(55.45% 0.158 305.9)
XYZxyz(22.6975, 15.4883, 48.7979)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55BB #86BB55
analogous
#5755BB #8A55BB #BB55B9
triadic
#8A55BB #BB8A55 #55BB8A
tetradic
#8A55BB #BB5755 #86BB55 #55B9BB
square
#8A55BB #BB5755 #86BB55 #55B9BB
split-complementary
#8A55BB #B9BB55 #55BB57
monochromatic
#4C2B6B #6B3C97 #8A55BB #A881CC #C6ACDE

Accessibility & contrast

On white

5.12
#8A55BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8A55BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55BB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55BB#FFFFFF#000000##FFFFFF
##8A55BB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#826880
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a55bb;
/* rgb */ color: rgb(138, 85, 187);
/* oklch */ color: oklch(55.5% 0.158 305.9);
Tailwind
colors: {
  custom: {
    50: '#af87d0',
    500: '#8a55bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a55bb;
$custom-light: #af87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55bb",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 271.176,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.15848,
    "h": 305.9
  },
  "luminance": 0.15488
}

Semantic roles & 50–950 ramp

primary
#8A55BB
secondary
#B5CCA0
accent
#D35591
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8A55BB

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

Preview Lab → · Contrast checker → · Palette generator →

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