#8A55B5#8A55B5

#8A55B5 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.1% C 0.151 H 307.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A55B5
RGBrgb(138, 85, 181)
HSLhsl(273, 39%, 52%)
HSVhsv(273, 53%, 71%)
CMYKcmyk(23.8%, 53%, 0%, 29%)
CIE-LABlab(45.96, 40.26, -42.69)
CIE-LCHlch(45.96, 58.68, 313.32°)
OKLaboklab(55.09% 0.0925 -0.1198)
OKLCHoklch(55.09% 0.151 307.7)
XYZxyz(22.0686, 15.2367, 45.4855)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55B5 #80B555
analogous
#5A55B5 #8A55B5 #B555B0
triadic
#8A55B5 #B58A55 #55B58A
tetradic
#8A55B5 #B55A55 #80B555 #55B0B5
square
#8A55B5 #B55A55 #80B555 #55B0B5
split-complementary
#8A55B5 #B0B555 #55B55A
monochromatic
#4B2C64 #6B3E8F #8A55B5 #A780C8 #C5AADA

Accessibility & contrast

On white

5.19
#8A55B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8A55B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55B5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55B5#FFFFFF#000000##FFFFFF
##8A55B51.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386BB8
Deuteranopia (green-blind)
#496DB3
Tritanopia (blue-blind)
#84667D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a55b5;
/* rgb */ color: rgb(138, 85, 181);
/* oklch */ color: oklch(55.1% 0.151 307.7);
Tailwind
colors: {
  custom: {
    50: '#af87cc',
    500: '#8a55b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a55b5;
$custom-light: #af87cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55b5",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 181
  },
  "hsl": {
    "h": 273.125,
    "s": 39.344,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55094,
    "c": 0.15131,
    "h": 307.7
  },
  "luminance": 0.15236
}

Semantic roles & 50–950 ramp

primary
#8A55B5
secondary
#B1C89E
accent
#CF598E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A55B5

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

Preview Lab → · Contrast checker → · Palette generator →

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