#8A4F85#8A4F85

#8A4F85 is a mid, moderate purple. Relative luminance 0.127; OKLCH L 51.6% C 0.108 H 330.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A4F85
RGBrgb(138, 79, 133)
HSLhsl(305, 27%, 43%)
HSVhsv(305, 43%, 54%)
CMYKcmyk(0%, 42.8%, 3.6%, 45.9%)
CIE-LABlab(42.29, 33.25, -19.83)
CIE-LCHlch(42.29, 38.71, 329.19°)
OKLaboklab(51.6% 0.0937 -0.0539)
OKLCHoklch(51.6% 0.108 330.1)
XYZxyz(17.5106, 12.6896, 23.7127)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4F85 #4F8A54
analogous
#724F8A #8A4F85 #8A4F67
triadic
#8A4F85 #858A4F #4F858A
tetradic
#8A4F85 #8A724F #4F8A54 #4F678A
square
#8A4F85 #8A724F #4F8A54 #4F678A
split-complementary
#8A4F85 #678A4F #4F8A72
monochromatic
#3C223A #63395F #8A4F85 #AB6CA5 #C193BD

Accessibility & contrast

On white

5.94
#8A4F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8A4F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4F85
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4F85#FFFFFF#000000##FFFFFF
##8A4F851.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F87
Deuteranopia (green-blind)
#5C6783
Tritanopia (blue-blind)
#8E5364
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a4f85;
/* rgb */ color: rgb(138, 79, 133);
/* oklch */ color: oklch(51.6% 0.108 330.1);
Tailwind
colors: {
  custom: {
    50: '#ad82a8',
    500: '#8a4f85',
    950: '#000000',
  },
}
SCSS
$custom: #8a4f85;
$custom-light: #ad82a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4f85",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 133
  },
  "hsl": {
    "h": 305.085,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51596,
    "c": 0.10809,
    "h": 330.1
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#8A4F85
secondary
#87AE8A
accent
#C46C64
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4F85

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

Preview Lab → · Contrast checker → · Palette generator →

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