#8A4B8F#8A4B8F

#8A4B8F is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.4% C 0.125 H 324.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8A4B8F
RGBrgb(138, 75, 143)
HSLhsl(296, 31%, 43%)
HSVhsv(296, 48%, 56%)
CMYKcmyk(3.5%, 47.6%, 0%, 43.9%)
CIE-LABlab(41.88, 37.43, -26.53)
CIE-LCHlch(41.88, 45.88, 324.67°)
OKLaboklab(51.43% 0.1021 -0.0729)
OKLCHoklch(51.43% 0.125 324.5)
XYZxyz(17.9548, 12.4194, 27.4327)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4B8F #508F4B
analogous
#684B8F #8A4B8F #8F4B72
triadic
#8A4B8F #8F8A4B #4B8F8A
tetradic
#8A4B8F #8F684B #508F4B #4B728F
square
#8A4B8F #8F684B #508F4B #4B728F
split-complementary
#8A4B8F #728F4B #4B8F68
monochromatic
#3D213F #633667 #8A4B8F #AA68B0 #C190C5

Accessibility & contrast

On white

6.03
#8A4B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8A4B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4B8F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4B8F#FFFFFF#000000##FFFFFF
##8A4B8F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435E91
Deuteranopia (green-blind)
#55668D
Tritanopia (blue-blind)
#8D5366
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4b8f;
/* rgb */ color: rgb(138, 75, 143);
/* oklch */ color: oklch(51.4% 0.125 324.5);
Tailwind
colors: {
  custom: {
    50: '#ae7fb0',
    500: '#8a4b8f',
    950: '#000000',
  },
}
SCSS
$custom: #8a4b8f;
$custom-light: #ae7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4b8f",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 143
  },
  "hsl": {
    "h": 295.588,
    "s": 31.193,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.12547,
    "h": 324.5
  },
  "luminance": 0.12419
}

Semantic roles & 50–950 ramp

primary
#8A4B8F
secondary
#88B185
accent
#C76068
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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