#8A3091#8A3091

#8A3091 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.9% C 0.170 H 324.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8A3091
RGBrgb(138, 48, 145)
HSLhsl(296, 50%, 38%)
HSVhsv(296, 67%, 57%)
CMYKcmyk(4.8%, 66.9%, 0%, 43.1%)
CIE-LABlab(37.05, 51.11, -35.35)
CIE-LCHlch(37.05, 62.15, 325.33°)
OKLaboklab(47.93% 0.1391 -0.0982)
OKLCHoklch(47.93% 0.17 324.8)
XYZxyz(16.6486, 9.5625, 27.7514)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3091 #379130
analogous
#593091 #8A3091 #913067
triadic
#8A3091 #918A30 #30918A
tetradic
#8A3091 #915930 #379130 #306791
square
#8A3091 #915930 #379130 #306791
split-complementary
#8A3091 #679130 #309159
monochromatic
#321235 #5E2163 #8A3091 #B63FBF #C86DCF

Accessibility & contrast

On white

7.21
#8A3091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A3091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3091
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3091#FFFFFF#000000##FFFFFF
##8A30911.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5094
Deuteranopia (green-blind)
#425B8F
Tritanopia (blue-blind)
#8D3F5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3091;
/* rgb */ color: rgb(138, 48, 145);
/* oklch */ color: oklch(47.9% 0.170 324.8);
Tailwind
colors: {
  custom: {
    50: '#af70b2',
    500: '#8a3091',
    950: '#000000',
  },
}
SCSS
$custom: #8a3091;
$custom-light: #af70b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3091",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 295.67,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47927,
    "c": 0.17028,
    "h": 324.8
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#8A3091
secondary
#6DB667
accent
#DA4E58
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3091

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

Preview Lab → · Contrast checker → · Palette generator →

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