#8A349E#8A349E

#8A349E is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.177 H 319.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8A349E
RGBrgb(138, 52, 158)
HSLhsl(289, 50%, 41%)
HSVhsv(289, 67%, 62%)
CMYKcmyk(12.7%, 67.1%, 0%, 38%)
CIE-LABlab(38.43, 51.90, -41.04)
CIE-LCHlch(38.43, 66.16, 321.67°)
OKLaboklab(49.17% 0.1345 -0.1148)
OKLCHoklch(49.17% 0.177 319.5)
XYZxyz(17.8800, 10.3287, 33.3929)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A349E #489E34
analogous
#55349E #8A349E #9E347D
triadic
#8A349E #9E8A34 #349E8A
tetradic
#8A349E #9E5534 #489E34 #347D9E
square
#8A349E #9E5534 #489E34 #347D9E
split-complementary
#8A349E #7D9E34 #349E55
monochromatic
#3A1642 #622570 #8A349E #AD4BC4 #C279D3

Accessibility & contrast

On white

6.85
#8A349E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A349E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A349E
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A349E#FFFFFF#000000##FFFFFF
##8A349E1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F55A1
Deuteranopia (green-blind)
#3C5D9B
Tritanopia (blue-blind)
#8A4765
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a349e;
/* rgb */ color: rgb(138, 52, 158);
/* oklch */ color: oklch(49.2% 0.177 319.5);
Tailwind
colors: {
  custom: {
    50: '#af72bb',
    500: '#8a349e',
    950: '#000000',
  },
}
SCSS
$custom: #8a349e;
$custom-light: #af72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a349e",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 288.679,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49168,
    "c": 0.17679,
    "h": 319.5
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

primary
#8A349E
secondary
#80BC72
accent
#DA4E68
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A349E

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

Preview Lab → · Contrast checker → · Palette generator →

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