#8A37A5#8A37A5

#8A37A5 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.0% C 0.179 H 316.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8A37A5
RGBrgb(138, 55, 165)
HSLhsl(285, 50%, 43%)
HSVhsv(285, 67%, 65%)
CMYKcmyk(16.4%, 66.7%, 0%, 35.3%)
CIE-LABlab(39.33, 51.99, -43.79)
CIE-LCHlch(39.33, 67.97, 319.89°)
OKLaboklab(49.96% 0.1308 -0.1228)
OKLCHoklch(49.96% 0.179 316.8)
XYZxyz(18.6379, 10.8530, 36.7031)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37A5 #52A537
analogous
#5337A5 #8A37A5 #A53789
triadic
#8A37A5 #A58A37 #37A58A
tetradic
#8A37A5 #A55337 #52A537 #3789A5
square
#8A37A5 #A55337 #52A537 #3789A5
split-complementary
#8A37A5 #89A537 #37A553
monochromatic
#3D1849 #642877 #8A37A5 #AA53C6 #C181D5

Accessibility & contrast

On white

6.62
#8A37A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8A37A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37A5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37A5#FFFFFF#000000##FFFFFF
##8A37A51.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0658A8
Deuteranopia (green-blind)
#395FA2
Tritanopia (blue-blind)
#894B69
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a37a5;
/* rgb */ color: rgb(138, 55, 165);
/* oklch */ color: oklch(50.0% 0.179 316.8);
Tailwind
colors: {
  custom: {
    50: '#af74c0',
    500: '#8a37a5',
    950: '#000000',
  },
}
SCSS
$custom: #8a37a5;
$custom-light: #af74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37a5",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 285.273,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49957,
    "c": 0.17942,
    "h": 316.8
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#8A37A5
secondary
#8ABF79
accent
#DA4E70
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A37A5

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

Preview Lab → · Contrast checker → · Palette generator →

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