#8A3094#8A3094

#8A3094 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.1% C 0.173 H 323.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A3094
RGBrgb(138, 48, 148)
HSLhsl(294, 51%, 38%)
HSVhsv(294, 68%, 58%)
CMYKcmyk(6.8%, 67.6%, 0%, 42%)
CIE-LABlab(37.22, 51.68, -36.90)
CIE-LCHlch(37.22, 63.50, 324.47°)
OKLaboklab(48.11% 0.1392 -0.1027)
OKLCHoklch(48.11% 0.173 323.6)
XYZxyz(16.8830, 9.6563, 28.9858)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3094 #3A9430
analogous
#583094 #8A3094 #94306C
triadic
#8A3094 #948A30 #30948A
tetradic
#8A3094 #945830 #3A9430 #306C94
square
#8A3094 #945830 #3A9430 #306C94
split-complementary
#8A3094 #6C9430 #309458
monochromatic
#341238 #5F2166 #8A3094 #B440C1 #C66ED0

Accessibility & contrast

On white

7.16
#8A3094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A3094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3094
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3094#FFFFFF#000000##FFFFFF
##8A30941.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185197
Deuteranopia (green-blind)
#405B91
Tritanopia (blue-blind)
#8C405E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3094;
/* rgb */ color: rgb(138, 48, 148);
/* oklch */ color: oklch(48.1% 0.173 323.6);
Tailwind
colors: {
  custom: {
    50: '#af70b4',
    500: '#8a3094',
    950: '#000000',
  },
}
SCSS
$custom: #8a3094;
$custom-light: #af70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3094",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 294,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48107,
    "c": 0.17296,
    "h": 323.6
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#8A3094
secondary
#70B868
accent
#DA4D5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3094

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

Preview Lab → · Contrast checker → · Palette generator →

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