#8A349F#8A349F

#8A349F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.2% C 0.178 H 319.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8A349F
RGBrgb(138, 52, 159)
HSLhsl(288, 51%, 41%)
HSVhsv(288, 67%, 62%)
CMYKcmyk(13.2%, 67.3%, 0%, 37.6%)
CIE-LABlab(38.49, 52.10, -41.54)
CIE-LCHlch(38.49, 66.63, 321.43°)
OKLaboklab(49.23% 0.1344 -0.1162)
OKLCHoklch(49.23% 0.178 319.2)
XYZxyz(17.9664, 10.3633, 33.8481)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A349F #499F34
analogous
#55349F #8A349F #9F347F
triadic
#8A349F #9F8A34 #349F8A
tetradic
#8A349F #9F5534 #499F34 #347F9F
square
#8A349F #9F5534 #499F34 #347F9F
split-complementary
#8A349F #7F9F34 #349F55
monochromatic
#3A1643 #622571 #8A349F #AD4CC4 #C27AD3

Accessibility & contrast

On white

6.84
#8A349F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A349F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A349F#FFFFFF#000000##FFFFFF
##8A349F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C55A2
Deuteranopia (green-blind)
#3B5E9C
Tritanopia (blue-blind)
#8A4765
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a349f;
/* rgb */ color: rgb(138, 52, 159);
/* oklch */ color: oklch(49.2% 0.178 319.2);
Tailwind
colors: {
  custom: {
    50: '#af72bc',
    500: '#8a349f',
    950: '#000000',
  },
}
SCSS
$custom: #8a349f;
$custom-light: #af72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a349f",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 288.224,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49231,
    "c": 0.17772,
    "h": 319.2
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#8A349F
secondary
#81BC73
accent
#DA4E69
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A349F

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

Preview Lab → · Contrast checker → · Palette generator →

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