#8A3283#8A3283

#8A3283 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.155 H 331.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8A3283
RGBrgb(138, 50, 131)
HSLhsl(305, 47%, 37%)
HSVhsv(305, 64%, 54%)
CMYKcmyk(0%, 63.8%, 5.1%, 45.9%)
CIE-LABlab(36.60, 47.72, -27.44)
CIE-LCHlch(36.60, 55.05, 330.10°)
OKLaboklab(47.36% 0.1358 -0.0753)
OKLCHoklch(47.36% 0.155 331)
XYZxyz(15.7185, 9.3243, 22.4402)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3283 #328A39
analogous
#65328A #8A3283 #8A3257
triadic
#8A3283 #838A32 #32838A
tetradic
#8A3283 #8A6532 #328A39 #32578A
square
#8A3283 #8A6532 #328A39 #32578A
split-complementary
#8A3283 #578A32 #328A65
monochromatic
#30112E #5D2258 #8A3283 #B742AE #CA6CC2

Accessibility & contrast

On white

7.33
#8A3283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A3283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3283
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3283#FFFFFF#000000##FFFFFF
##8A32831.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E85
Deuteranopia (green-blind)
#4A5A81
Tritanopia (blue-blind)
#8F3B56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3283;
/* rgb */ color: rgb(138, 50, 131);
/* oklch */ color: oklch(47.4% 0.155 331.0);
Tailwind
colors: {
  custom: {
    50: '#af70a7',
    500: '#8a3283',
    950: '#000000',
  },
}
SCSS
$custom: #8a3283;
$custom-light: #af70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3283",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 304.773,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47359,
    "c": 0.15526,
    "h": 331
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#8A3283
secondary
#66B26C
accent
#D65C51
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3283

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

Preview Lab → · Contrast checker → · Palette generator →

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