#8A3195#8A3195

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

Color values

HEX#8A3195
RGBrgb(138, 49, 149)
HSLhsl(293, 51%, 39%)
HSVhsv(293, 67%, 58%)
CMYKcmyk(7.4%, 67.1%, 0%, 41.6%)
CIE-LABlab(37.43, 51.44, -37.18)
CIE-LCHlch(37.43, 63.47, 324.14°)
OKLaboklab(48.28% 0.138 -0.1035)
OKLCHoklch(48.28% 0.173 323.1)
XYZxyz(17.0038, 9.7708, 29.4183)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3195 #3C9531
analogous
#583195 #8A3195 #95316E
triadic
#8A3195 #958A31 #31958A
tetradic
#8A3195 #955831 #3C9531 #316E95
square
#8A3195 #955831 #3C9531 #316E95
split-complementary
#8A3195 #6E9531 #319558
monochromatic
#351339 #5F2267 #8A3195 #B342C1 #C670D0

Accessibility & contrast

On white

7.11
#8A3195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A3195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3195
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3195#FFFFFF#000000##FFFFFF
##8A31951.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195198
Deuteranopia (green-blind)
#405C92
Tritanopia (blue-blind)
#8C415F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3195;
/* rgb */ color: rgb(138, 49, 149);
/* oklch */ color: oklch(48.3% 0.173 323.1);
Tailwind
colors: {
  custom: {
    50: '#af70b4',
    500: '#8a3195',
    950: '#000000',
  },
}
SCSS
$custom: #8a3195;
$custom-light: #af70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3195",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 293.4,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48277,
    "c": 0.17252,
    "h": 323.1
  },
  "luminance": 0.0977
}

Semantic roles & 50–950 ramp

primary
#8A3195
secondary
#73B86A
accent
#DA4E5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3195

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

Preview Lab → · Contrast checker → · Palette generator →

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