#8A4BA5#8A4BA5

#8A4BA5 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.6% C 0.149 H 314.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8A4BA5
RGBrgb(138, 75, 165)
HSLhsl(282, 38%, 47%)
HSVhsv(282, 55%, 65%)
CMYKcmyk(16.4%, 54.5%, 0%, 35.3%)
CIE-LABlab(42.99, 42.06, -37.96)
CIE-LCHlch(42.99, 56.66, 317.93°)
OKLaboklab(52.62% 0.105 -0.106)
OKLCHoklch(52.62% 0.149 314.7)
XYZxyz(19.7878, 13.1526, 37.0864)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BA5 #66A54B
analogous
#5D4BA5 #8A4BA5 #A54B93
triadic
#8A4BA5 #A58A4B #4BA58A
tetradic
#8A4BA5 #A55D4B #66A54B #4B93A5
square
#8A4BA5 #A55D4B #66A54B #4B93A5
split-complementary
#8A4BA5 #93A54B #4BA55D
monochromatic
#442551 #67387B #8A4BA5 #A66FBE #C09AD1

Accessibility & contrast

On white

5.78
#8A4BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8A4BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BA5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BA5#FFFFFF#000000##FFFFFF
##8A4BA51.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A8
Deuteranopia (green-blind)
#4A67A3
Tritanopia (blue-blind)
#885A71
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a4ba5;
/* rgb */ color: rgb(138, 75, 165);
/* oklch */ color: oklch(52.6% 0.149 314.7);
Tailwind
colors: {
  custom: {
    50: '#ae80c0',
    500: '#8a4ba5',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ba5;
$custom-light: #ae80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ba5",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 282,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.14918,
    "h": 314.7
  },
  "luminance": 0.13152
}

Semantic roles & 50–950 ramp

primary
#8A4BA5
secondary
#9DBD8F
accent
#CD5A7D
background
#FAF7FB
surface
#F5EEF7
border
#CFC9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A4BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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