#8A358D#8A358D

#8A358D is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.3% C 0.160 H 326.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8A358D
RGBrgb(138, 53, 141)
HSLhsl(298, 45%, 38%)
HSVhsv(298, 62%, 55%)
CMYKcmyk(2.1%, 62.4%, 0%, 44.7%)
CIE-LABlab(37.61, 48.17, -32.00)
CIE-LCHlch(37.61, 57.83, 326.40°)
OKLaboklab(48.27% 0.1328 -0.0885)
OKLCHoklch(48.27% 0.16 326.3)
XYZxyz(16.5617, 9.8736, 26.2276)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A358D #388D35
analogous
#5E358D #8A358D #8D3564
triadic
#8A358D #8D8A35 #358D8A
tetradic
#8A358D #8D5E35 #388D35 #35648D
square
#8A358D #8D5E35 #388D35 #35648D
split-complementary
#8A358D #648D35 #358D5E
monochromatic
#331434 #5E2461 #8A358D #B546B9 #C772CA

Accessibility & contrast

On white

7.06
#8A358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8A358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A358D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A358D#FFFFFF#000000##FFFFFF
##8A358D1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285290
Deuteranopia (green-blind)
#475C8B
Tritanopia (blue-blind)
#8E415C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a358d;
/* rgb */ color: rgb(138, 53, 141);
/* oklch */ color: oklch(48.3% 0.160 326.3);
Tailwind
colors: {
  custom: {
    50: '#af72af',
    500: '#8a358d',
    950: '#000000',
  },
}
SCSS
$custom: #8a358d;
$custom-light: #af72af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a358d",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 297.955,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48267,
    "c": 0.15961,
    "h": 326.3
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#8A358D
secondary
#6EB26B
accent
#D55357
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A358D

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

Preview Lab → · Contrast checker → · Palette generator →

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