#8A3289#8A3289

#8A3289 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.160 H 328.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8A3289
RGBrgb(138, 50, 137)
HSLhsl(301, 47%, 37%)
HSVhsv(301, 64%, 54%)
CMYKcmyk(0%, 63.8%, 0.7%, 45.9%)
CIE-LABlab(36.91, 48.78, -30.65)
CIE-LCHlch(36.91, 57.62, 327.86°)
OKLaboklab(47.69% 0.1363 -0.0846)
OKLCHoklch(47.69% 0.16 328.2)
XYZxyz(16.1370, 9.4917, 24.6442)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3289 #328A33
analogous
#5F328A #8A3289 #8A325D
triadic
#8A3289 #898A32 #32898A
tetradic
#8A3289 #8A5F32 #328A33 #325D8A
square
#8A3289 #8A5F32 #328A33 #325D8A
split-complementary
#8A3289 #5D8A32 #328A5F
monochromatic
#301130 #5D225C #8A3289 #B742B6 #CA6CC9

Accessibility & contrast

On white

7.25
#8A3289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8A3289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3289
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3289#FFFFFF#000000##FFFFFF
##8A32891.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8C
Deuteranopia (green-blind)
#475B87
Tritanopia (blue-blind)
#8E3D59
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3289;
/* rgb */ color: rgb(138, 50, 137);
/* oklch */ color: oklch(47.7% 0.160 328.2);
Tailwind
colors: {
  custom: {
    50: '#af70ac',
    500: '#8a3289',
    950: '#000000',
  },
}
SCSS
$custom: #8a3289;
$custom-light: #af70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3289",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 300.682,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47689,
    "c": 0.16043,
    "h": 328.2
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#8A3289
secondary
#66B267
accent
#D65351
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3289

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

Preview Lab → · Contrast checker → · Palette generator →

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