#8A357D#8A357D

#8A357D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.4% C 0.146 H 334.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8A357D
RGBrgb(138, 53, 125)
HSLhsl(309, 45%, 37%)
HSVhsv(309, 62%, 54%)
CMYKcmyk(0%, 61.6%, 9.4%, 45.9%)
CIE-LABlab(36.80, 45.32, -23.41)
CIE-LCHlch(36.80, 51.01, 332.68°)
OKLaboklab(47.41% 0.131 -0.0638)
OKLCHoklch(47.41% 0.146 334)
XYZxyz(15.4561, 9.4313, 20.4044)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A357D #358A42
analogous
#6C358A #8A357D #8A3553
triadic
#8A357D #7D8A35 #357D8A
tetradic
#8A357D #8A6C35 #358A42 #35538A
square
#8A357D #8A6C35 #358A42 #35538A
split-complementary
#8A357D #538A35 #358A6C
monochromatic
#32132D #5E2455 #8A357D #B646A5 #C871BB

Accessibility & contrast

On white

7.28
#8A357D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A357D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A357D#FFFFFF#000000##FFFFFF
##8A357D1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F7F
Deuteranopia (green-blind)
#4F5B7B
Tritanopia (blue-blind)
#903B54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a357d;
/* rgb */ color: rgb(138, 53, 125);
/* oklch */ color: oklch(47.4% 0.146 334.0);
Tailwind
colors: {
  custom: {
    50: '#af72a3',
    500: '#8a357d',
    950: '#000000',
  },
}
SCSS
$custom: #8a357d;
$custom-light: #af72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a357d",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 125
  },
  "hsl": {
    "h": 309.176,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47409,
    "c": 0.14572,
    "h": 334
  },
  "luminance": 0.0943
}

Semantic roles & 50–950 ramp

primary
#8A357D
secondary
#6AB175
accent
#D46754
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A357D

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

Preview Lab → · Contrast checker → · Palette generator →

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