#8A3B83#8A3B83

#8A3B83 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.5% C 0.141 H 331.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8A3B83
RGBrgb(138, 59, 131)
HSLhsl(305, 40%, 39%)
HSVhsv(305, 57%, 54%)
CMYKcmyk(0%, 57.2%, 5.1%, 45.9%)
CIE-LABlab(38.15, 43.50, -25.03)
CIE-LCHlch(38.15, 50.18, 330.09°)
OKLaboklab(48.49% 0.1236 -0.0685)
OKLCHoklch(48.49% 0.141 331)
XYZxyz(16.1418, 10.1710, 22.5813)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3B83 #3B8A42
analogous
#693B8A #8A3B83 #8A3B5B
triadic
#8A3B83 #838A3B #3B838A
tetradic
#8A3B83 #8A693B #3B8A42 #3B5B8A
square
#8A3B83 #8A693B #3B8A42 #3B5B8A
split-complementary
#8A3B83 #5B8A3B #3B8A69
monochromatic
#341632 #5F295A #8A3B83 #B44FAB #C679BF

Accessibility & contrast

On white

6.92
#8A3B83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A3B83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3B83
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3B83#FFFFFF#000000##FFFFFF
##8A3B831.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375385
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#8F4259
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3b83;
/* rgb */ color: rgb(138, 59, 131);
/* oklch */ color: oklch(48.5% 0.141 331.0);
Tailwind
colors: {
  custom: {
    50: '#ae75a7',
    500: '#8a3b83',
    950: '#000000',
  },
}
SCSS
$custom: #8a3b83;
$custom-light: #ae75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3b83",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 131
  },
  "hsl": {
    "h": 305.316,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4849,
    "c": 0.14132,
    "h": 331
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

primary
#8A3B83
secondary
#71AF77
accent
#D06258
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3B83

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

Preview Lab → · Contrast checker → · Palette generator →

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