#8A3485#8A3485

#8A3485 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.7% C 0.154 H 330.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8A3485
RGBrgb(138, 52, 133)
HSLhsl(303, 45%, 37%)
HSVhsv(303, 62%, 54%)
CMYKcmyk(0%, 62.3%, 3.6%, 45.9%)
CIE-LABlab(37.03, 47.17, -28.01)
CIE-LCHlch(37.03, 54.86, 329.30°)
OKLaboklab(47.7% 0.1334 -0.077)
OKLCHoklch(47.7% 0.154 330)
XYZxyz(15.9427, 9.5538, 23.1901)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3485 #348A39
analogous
#64348A #8A3485 #8A345A
triadic
#8A3485 #858A34 #34858A
tetradic
#8A3485 #8A6434 #348A39 #345A8A
square
#8A3485 #8A6434 #348A39 #345A8A
split-complementary
#8A3485 #5A8A34 #348A64
monochromatic
#31132F #5E235A #8A3485 #B645B0 #C96FC4

Accessibility & contrast

On white

7.22
#8A3485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A3485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3485
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3485#FFFFFF#000000##FFFFFF
##8A34851.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5087
Deuteranopia (green-blind)
#4B5B83
Tritanopia (blue-blind)
#8F3D57
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3485;
/* rgb */ color: rgb(138, 52, 133);
/* oklch */ color: oklch(47.7% 0.154 330.0);
Tailwind
colors: {
  custom: {
    50: '#af71a9',
    500: '#8a3485',
    950: '#000000',
  },
}
SCSS
$custom: #8a3485;
$custom-light: #af71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3485",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 133
  },
  "hsl": {
    "h": 303.488,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47704,
    "c": 0.15402,
    "h": 330
  },
  "luminance": 0.09553
}

Semantic roles & 50–950 ramp

primary
#8A3485
secondary
#69B16D
accent
#D55A53
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3485

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

Preview Lab → · Contrast checker → · Palette generator →

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