#8A3598#8A3598

#8A3598 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.9% C 0.170 H 321.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8A3598
RGBrgb(138, 53, 152)
HSLhsl(292, 48%, 40%)
HSVhsv(292, 65%, 60%)
CMYKcmyk(9.2%, 65.1%, 0%, 40.4%)
CIE-LABlab(38.23, 50.27, -37.72)
CIE-LCHlch(38.23, 62.85, 323.12°)
OKLaboklab(48.91% 0.1333 -0.1051)
OKLCHoklch(48.91% 0.17 321.7)
XYZxyz(17.4212, 10.2174, 30.7542)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3598 #439835
analogous
#583598 #8A3598 #983575
triadic
#8A3598 #988A35 #35988A
tetradic
#8A3598 #985835 #439835 #357598
square
#8A3598 #985835 #439835 #357598
split-complementary
#8A3598 #759835 #359858
monochromatic
#38153D #61256B #8A3598 #AF4AC0 #C378D0

Accessibility & contrast

On white

6.90
#8A3598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A3598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3598
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3598#FFFFFF#000000##FFFFFF
##8A35981.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#8C4562
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3598;
/* rgb */ color: rgb(138, 53, 152);
/* oklch */ color: oklch(48.9% 0.170 321.7);
Tailwind
colors: {
  custom: {
    50: '#af73b7',
    500: '#8a3598',
    950: '#000000',
  },
}
SCSS
$custom: #8a3598;
$custom-light: #af73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3598",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 152
  },
  "hsl": {
    "h": 291.515,
    "s": 48.293,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.16976,
    "h": 321.7
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#8A3598
secondary
#7BB870
accent
#D85063
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3598

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

Preview Lab → · Contrast checker → · Palette generator →

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