#8A349D#8A349D

#8A349D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.1% C 0.176 H 319.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A349D
RGBrgb(138, 52, 157)
HSLhsl(289, 50%, 41%)
HSVhsv(289, 67%, 62%)
CMYKcmyk(12.1%, 66.9%, 0%, 38.4%)
CIE-LABlab(38.37, 51.70, -40.53)
CIE-LCHlch(38.37, 65.69, 321.91°)
OKLaboklab(49.11% 0.1345 -0.1133)
OKLCHoklch(49.11% 0.176 319.9)
XYZxyz(17.7943, 10.2944, 32.9415)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A349D #479D34
analogous
#55349D #8A349D #9D347B
triadic
#8A349D #9D8A34 #349D8A
tetradic
#8A349D #9D5534 #479D34 #347B9D
square
#8A349D #9D5534 #479D34 #347B9D
split-complementary
#8A349D #7B9D34 #349D55
monochromatic
#391641 #62256F #8A349D #AE4BC3 #C279D3

Accessibility & contrast

On white

6.87
#8A349D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8A349D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A349D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A349D#FFFFFF#000000##FFFFFF
##8A349D1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1154A0
Deuteranopia (green-blind)
#3D5D9A
Tritanopia (blue-blind)
#8B4664
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a349d;
/* rgb */ color: rgb(138, 52, 157);
/* oklch */ color: oklch(49.1% 0.176 319.9);
Tailwind
colors: {
  custom: {
    50: '#af72ba',
    500: '#8a349d',
    950: '#000000',
  },
}
SCSS
$custom: #8a349d;
$custom-light: #af72ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a349d",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 289.143,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49105,
    "c": 0.17585,
    "h": 319.9
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#8A349D
secondary
#7FBB72
accent
#DA4E67
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A349D

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

Preview Lab → · Contrast checker → · Palette generator →

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