#8A349C#8A349C

#8A349C is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.0% C 0.175 H 320.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8A349C
RGBrgb(138, 52, 156)
HSLhsl(290, 50%, 41%)
HSVhsv(290, 67%, 61%)
CMYKcmyk(11.5%, 66.7%, 0%, 38.8%)
CIE-LABlab(38.31, 51.50, -40.02)
CIE-LCHlch(38.31, 65.22, 322.15°)
OKLaboklab(49.04% 0.1345 -0.1118)
OKLCHoklch(49.04% 0.175 320.3)
XYZxyz(17.7092, 10.2604, 32.4937)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A349C #469C34
analogous
#56349C #8A349C #9C347A
triadic
#8A349C #9C8A34 #349C8A
tetradic
#8A349C #9C5634 #469C34 #347A9C
square
#8A349C #9C5634 #469C34 #347A9C
split-complementary
#8A349C #7A9C34 #349C56
monochromatic
#391540 #61256E #8A349C #AE4AC3 #C378D2

Accessibility & contrast

On white

6.88
#8A349C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A349C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A349C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A349C#FFFFFF#000000##FFFFFF
##8A349C1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13549F
Deuteranopia (green-blind)
#3D5D99
Tritanopia (blue-blind)
#8B4663
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a349c;
/* rgb */ color: rgb(138, 52, 156);
/* oklch */ color: oklch(49.0% 0.175 320.3);
Tailwind
colors: {
  custom: {
    50: '#af72ba',
    500: '#8a349c',
    950: '#000000',
  },
}
SCSS
$custom: #8a349c;
$custom-light: #af72ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a349c",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 289.615,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49043,
    "c": 0.1749,
    "h": 320.3
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#8A349C
secondary
#7EBB71
accent
#DA4E66
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A349C

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

Preview Lab → · Contrast checker → · Palette generator →

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