#8A4086#8A4086

#8A4086 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.3% C 0.136 H 329.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8A4086
RGBrgb(138, 64, 134)
HSLhsl(303, 37%, 40%)
HSVhsv(303, 54%, 54%)
CMYKcmyk(0%, 53.6%, 2.9%, 45.9%)
CIE-LABlab(39.23, 41.53, -25.18)
CIE-LCHlch(39.23, 48.57, 328.77°)
OKLaboklab(49.33% 0.1169 -0.069)
OKLCHoklch(49.33% 0.136 329.5)
XYZxyz(16.6175, 10.7923, 23.7575)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4086 #408A44
analogous
#69408A #8A4086 #8A4061
triadic
#8A4086 #868A40 #40868A
tetradic
#8A4086 #8A6940 #408A44 #40618A
square
#8A4086 #8A6940 #408A44 #40618A
split-complementary
#8A4086 #618A40 #408A69
monochromatic
#361935 #602D5D #8A4086 #B156AC #C480C1

Accessibility & contrast

On white

6.65
#8A4086 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8A4086 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4086
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4086#FFFFFF#000000##FFFFFF
##8A40861.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5688
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#8E475D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a4086;
/* rgb */ color: rgb(138, 64, 134);
/* oklch */ color: oklch(49.3% 0.136 329.5);
Tailwind
colors: {
  custom: {
    50: '#ae78a9',
    500: '#8a4086',
    950: '#000000',
  },
}
SCSS
$custom: #8a4086;
$custom-light: #ae78a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4086",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 134
  },
  "hsl": {
    "h": 303.243,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49333,
    "c": 0.13575,
    "h": 329.5
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#8A4086
secondary
#77AF7A
accent
#CD615B
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A4086

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

Preview Lab → · Contrast checker → · Palette generator →

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