#8A3086#8A3086

#8A3086 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.161 H 329.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8A3086
RGBrgb(138, 48, 134)
HSLhsl(303, 48%, 36%)
HSVhsv(303, 65%, 54%)
CMYKcmyk(0%, 65.2%, 2.9%, 45.9%)
CIE-LABlab(36.44, 49.12, -29.55)
CIE-LCHlch(36.44, 57.32, 328.97°)
OKLaboklab(47.29% 0.1386 -0.0814)
OKLCHoklch(47.29% 0.161 329.6)
XYZxyz(15.8411, 9.2395, 23.4987)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3086 #308A34
analogous
#61308A #8A3086 #8A3059
triadic
#8A3086 #868A30 #30868A
tetradic
#8A3086 #8A6130 #308A34 #30598A
square
#8A3086 #8A6130 #308A34 #30598A
split-complementary
#8A3086 #598A30 #308A61
monochromatic
#2F102E #5D205A #8A3086 #B740B2 #CB69C7

Accessibility & contrast

On white

7.37
#8A3086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8A3086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3086
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3086#FFFFFF#000000##FFFFFF
##8A30861.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#485A84
Tritanopia (blue-blind)
#8F3A56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3086;
/* rgb */ color: rgb(138, 48, 134);
/* oklch */ color: oklch(47.3% 0.161 329.6);
Tailwind
colors: {
  custom: {
    50: '#af6fa9',
    500: '#8a3086',
    950: '#000000',
  },
}
SCSS
$custom: #8a3086;
$custom-light: #af6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3086",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 134
  },
  "hsl": {
    "h": 302.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47294,
    "c": 0.16069,
    "h": 329.6
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

primary
#8A3086
secondary
#64B267
accent
#D85650
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3086

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

Preview Lab → · Contrast checker → · Palette generator →

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