#8A357E#8A357E

#8A357E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.5% C 0.147 H 333.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8A357E
RGBrgb(138, 53, 126)
HSLhsl(308, 45%, 37%)
HSVhsv(308, 62%, 54%)
CMYKcmyk(0%, 61.6%, 8.7%, 45.9%)
CIE-LABlab(36.85, 45.49, -23.96)
CIE-LCHlch(36.85, 51.41, 332.22°)
OKLaboklab(47.46% 0.1312 -0.0654)
OKLCHoklch(47.46% 0.147 333.5)
XYZxyz(15.5203, 9.4570, 20.7426)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A357E #358A41
analogous
#6C358A #8A357E #8A3553
triadic
#8A357E #7E8A35 #357E8A
tetradic
#8A357E #8A6C35 #358A41 #35538A
square
#8A357E #8A6C35 #358A41 #35538A
split-complementary
#8A357E #538A35 #358A6C
monochromatic
#32132D #5E2456 #8A357E #B646A6 #C871BC

Accessibility & contrast

On white

7.26
#8A357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A357E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A357E#FFFFFF#000000##FFFFFF
##8A357E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#4E5B7C
Tritanopia (blue-blind)
#903B54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a357e;
/* rgb */ color: rgb(138, 53, 126);
/* oklch */ color: oklch(47.5% 0.147 333.5);
Tailwind
colors: {
  custom: {
    50: '#af72a3',
    500: '#8a357e',
    950: '#000000',
  },
}
SCSS
$custom: #8a357e;
$custom-light: #af72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a357e",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 308.471,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4746,
    "c": 0.14654,
    "h": 333.5
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#8A357E
secondary
#6AB174
accent
#D46654
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A357E

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

Preview Lab → · Contrast checker → · Palette generator →

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