#8A358A#8A358A

#8A358A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.1% C 0.157 H 327.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8A358A
RGBrgb(138, 53, 138)
HSLhsl(300, 45%, 37%)
HSVhsv(300, 62%, 54%)
CMYKcmyk(0%, 61.6%, 0%, 45.9%)
CIE-LABlab(37.45, 47.62, -30.42)
CIE-LCHlch(37.45, 56.50, 327.43°)
OKLaboklab(48.1% 0.1326 -0.0839)
OKLCHoklch(48.1% 0.157 327.7)
XYZxyz(16.3415, 9.7855, 25.0679)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A358A #358A35
analogous
#60358A #8A358A #8A3560
triadic
#8A358A #8A8A35 #358A8A
tetradic
#8A358A #8A6035 #358A35 #35608A
square
#8A358A #8A6035 #358A35 #35608A
split-complementary
#8A358A #608A35 #358A60
monochromatic
#321332 #5E245E #8A358A #B646B6 #C871C8

Accessibility & contrast

On white

7.10
#8A358A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A358A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A358A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A358A#FFFFFF#000000##FFFFFF
##8A358A1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#495C88
Tritanopia (blue-blind)
#8E405A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a358a;
/* rgb */ color: rgb(138, 53, 138);
/* oklch */ color: oklch(48.1% 0.157 327.7);
Tailwind
colors: {
  custom: {
    50: '#af72ac',
    500: '#8a358a',
    950: '#000000',
  },
}
SCSS
$custom: #8a358a;
$custom-light: #af72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a358a",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48098,
    "c": 0.15692,
    "h": 327.7
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#8A358A
secondary
#6AB16A
accent
#D45454
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A358A

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

Preview Lab → · Contrast checker → · Palette generator →

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