#8A358B#8A358B

#8A358B is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.2% C 0.158 H 327.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A358B
RGBrgb(138, 53, 139)
HSLhsl(299, 45%, 38%)
HSVhsv(299, 62%, 55%)
CMYKcmyk(0.7%, 61.9%, 0%, 45.5%)
CIE-LABlab(37.51, 47.80, -30.95)
CIE-LCHlch(37.51, 56.95, 327.08°)
OKLaboklab(48.15% 0.1327 -0.0854)
OKLCHoklch(48.15% 0.158 327.2)
XYZxyz(16.4143, 9.8146, 25.4509)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A358B #368B35
analogous
#5F358B #8A358B #8B3561
triadic
#8A358B #8B8A35 #358B8A
tetradic
#8A358B #8B5F35 #368B35 #35618B
square
#8A358B #8B5F35 #368B35 #35618B
split-complementary
#8A358B #618B35 #358B5F
monochromatic
#321332 #5E245F #8A358B #B646B7 #C871C9

Accessibility & contrast

On white

7.09
#8A358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A358B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A358B#FFFFFF#000000##FFFFFF
##8A358B1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518E
Deuteranopia (green-blind)
#485C89
Tritanopia (blue-blind)
#8E405B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a358b;
/* rgb */ color: rgb(138, 53, 139);
/* oklch */ color: oklch(48.2% 0.158 327.2);
Tailwind
colors: {
  custom: {
    50: '#af72ad',
    500: '#8a358b',
    950: '#000000',
  },
}
SCSS
$custom: #8a358b;
$custom-light: #af72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a358b",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 299.302,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48154,
    "c": 0.15782,
    "h": 327.2
  },
  "luminance": 0.09814
}

Semantic roles & 50–950 ramp

primary
#8A358B
secondary
#6BB16A
accent
#D45355
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A358B

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

Preview Lab → · Contrast checker → · Palette generator →

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