#8A347F#8A347F

#8A347F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.4% C 0.149 H 333.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8A347F
RGBrgb(138, 52, 127)
HSLhsl(308, 45%, 37%)
HSVhsv(308, 62%, 54%)
CMYKcmyk(0%, 62.3%, 8%, 45.9%)
CIE-LABlab(36.73, 46.12, -24.77)
CIE-LCHlch(36.73, 52.35, 331.77°)
OKLaboklab(47.39% 0.1327 -0.0677)
OKLCHoklch(47.39% 0.149 333)
XYZxyz(15.5400, 9.3927, 21.0691)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A347F #348A3F
analogous
#6A348A #8A347F #8A3454
triadic
#8A347F #7F8A34 #347F8A
tetradic
#8A347F #8A6A34 #348A3F #34548A
square
#8A347F #8A6A34 #348A3F #34548A
split-complementary
#8A347F #548A34 #348A6A
monochromatic
#31132D #5E2356 #8A347F #B645A8 #C96FBD

Accessibility & contrast

On white

7.30
#8A347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A347F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A347F#FFFFFF#000000##FFFFFF
##8A347F1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E81
Deuteranopia (green-blind)
#4D5B7D
Tritanopia (blue-blind)
#903B54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a347f;
/* rgb */ color: rgb(138, 52, 127);
/* oklch */ color: oklch(47.4% 0.149 333.0);
Tailwind
colors: {
  custom: {
    50: '#af71a4',
    500: '#8a347f',
    950: '#000000',
  },
}
SCSS
$custom: #8a347f;
$custom-light: #af71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a347f",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 307.674,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47388,
    "c": 0.14891,
    "h": 333
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#8A347F
secondary
#69B172
accent
#D56353
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A347F

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

Preview Lab → · Contrast checker → · Palette generator →

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