#8A3294#8A3294

#8A3294 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.170 H 323.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8A3294
RGBrgb(138, 50, 148)
HSLhsl(294, 49%, 39%)
HSVhsv(294, 66%, 58%)
CMYKcmyk(6.8%, 66.2%, 0%, 42%)
CIE-LABlab(37.52, 50.82, -36.42)
CIE-LCHlch(37.52, 62.52, 324.38°)
OKLaboklab(48.33% 0.1368 -0.1013)
OKLCHoklch(48.33% 0.17 323.5)
XYZxyz(16.9666, 9.8236, 29.0137)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3294 #3C9432
analogous
#593294 #8A3294 #94326D
triadic
#8A3294 #948A32 #32948A
tetradic
#8A3294 #945932 #3C9432 #326D94
square
#8A3294 #945932 #3C9432 #326D94
split-complementary
#8A3294 #6D9432 #329459
monochromatic
#351339 #5F2366 #8A3294 #B344C0 #C671CF

Accessibility & contrast

On white

7.08
#8A3294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A3294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3294
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3294#FFFFFF#000000##FFFFFF
##8A32941.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5297
Deuteranopia (green-blind)
#415C91
Tritanopia (blue-blind)
#8C415F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3294;
/* rgb */ color: rgb(138, 50, 148);
/* oklch */ color: oklch(48.3% 0.170 323.5);
Tailwind
colors: {
  custom: {
    50: '#af71b4',
    500: '#8a3294',
    950: '#000000',
  },
}
SCSS
$custom: #8a3294;
$custom-light: #af71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3294",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 293.878,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48327,
    "c": 0.17025,
    "h": 323.5
  },
  "luminance": 0.09823
}

Semantic roles & 50–950 ramp

primary
#8A3294
secondary
#73B76B
accent
#D94F5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3294

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

Preview Lab → · Contrast checker → · Palette generator →

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