#8A55AA#8A55AA

#8A55AA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.138 H 311.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A55AA
RGBrgb(138, 85, 170)
HSLhsl(277, 33%, 50%)
HSVhsv(277, 50%, 67%)
CMYKcmyk(18.8%, 50%, 0%, 33.3%)
CIE-LABlab(45.36, 37.70, -37.17)
CIE-LCHlch(45.36, 52.94, 315.40°)
OKLaboklab(54.46% 0.0914 -0.1037)
OKLCHoklch(54.46% 0.138 311.4)
XYZxyz(20.9841, 14.8030, 39.7742)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55AA #75AA55
analogous
#6055AA #8A55AA #AA559F
triadic
#8A55AA #AA8A55 #55AA8A
tetradic
#8A55AA #AA6055 #75AA55 #559FAA
square
#8A55AA #AA6055 #75AA55 #559FAA
split-complementary
#8A55AA #9FAA55 #55AA60
monochromatic
#482C58 #694181 #8A55AA #A67EBE #C2A7D3

Accessibility & contrast

On white

5.30
#8A55AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8A55AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55AA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55AA#FFFFFF#000000##FFFFFF
##8A55AA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AD
Deuteranopia (green-blind)
#506CA8
Tritanopia (blue-blind)
#866378
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a55aa;
/* rgb */ color: rgb(138, 85, 170);
/* oklch */ color: oklch(54.5% 0.138 311.4);
Tailwind
colors: {
  custom: {
    50: '#ae86c3',
    500: '#8a55aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a55aa;
$custom-light: #ae86c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55aa",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 277.412,
    "s": 33.333,
    "l": 50
  },
  "oklch": {
    "l": 0.54462,
    "c": 0.13822,
    "h": 311.4
  },
  "luminance": 0.14803
}

Semantic roles & 50–950 ramp

primary
#8A55AA
secondary
#A9C09A
accent
#C95E87
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8A55AA

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

Preview Lab → · Contrast checker → · Palette generator →

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