#8A55A2#8A55A2

#8A55A2 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.0% C 0.129 H 314.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A55A2
RGBrgb(138, 85, 162)
HSLhsl(281, 31%, 48%)
HSVhsv(281, 48%, 64%)
CMYKcmyk(14.8%, 47.5%, 0%, 36.5%)
CIE-LABlab(44.95, 35.89, -33.09)
CIE-LCHlch(44.95, 48.82, 317.33°)
OKLaboklab(54.03% 0.0903 -0.0919)
OKLCHoklch(54.03% 0.129 314.5)
XYZxyz(20.2503, 14.5094, 35.9093)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55A2 #6DA255
analogous
#6355A2 #8A55A2 #A25593
triadic
#8A55A2 #A28A55 #55A28A
tetradic
#8A55A2 #A26355 #6DA255 #5593A2
square
#8A55A2 #A26355 #6DA255 #5593A2
split-complementary
#8A55A2 #93A255 #55A263
monochromatic
#462B52 #68407A #8A55A2 #A67BBA #C1A3CF

Accessibility & contrast

On white

5.38
#8A55A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8A55A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55A2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55A2#FFFFFF#000000##FFFFFF
##8A55A21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#546CA0
Tritanopia (blue-blind)
#886074
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a55a2;
/* rgb */ color: rgb(138, 85, 162);
/* oklch */ color: oklch(54.0% 0.129 314.5);
Tailwind
colors: {
  custom: {
    50: '#ae86be',
    500: '#8a55a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a55a2;
$custom-light: #ae86be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55a2",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 281.299,
    "s": 31.174,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54025,
    "c": 0.1288,
    "h": 314.5
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#8A55A2
secondary
#A2BC97
accent
#C76081
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8A55A2

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

Preview Lab → · Contrast checker → · Palette generator →

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