#8A37AA#8A37AA

#8A37AA is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.184 H 315.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8A37AA
RGBrgb(138, 55, 170)
HSLhsl(283, 51%, 44%)
HSVhsv(283, 68%, 67%)
CMYKcmyk(18.8%, 67.6%, 0%, 33.3%)
CIE-LABlab(39.65, 53.02, -46.27)
CIE-LCHlch(39.65, 70.38, 318.89°)
OKLaboklab(50.28% 0.1305 -0.1301)
OKLCHoklch(50.28% 0.184 315.1)
XYZxyz(19.1019, 11.0386, 39.1469)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37AA #57AA37
analogous
#5137AA #8A37AA #AA3791
triadic
#8A37AA #AA8A37 #37AA8A
tetradic
#8A37AA #AA5137 #57AA37 #3791AA
square
#8A37AA #AA5137 #57AA37 #3791AA
split-complementary
#8A37AA #91AA37 #37AA51
monochromatic
#3F194E #64287C #8A37AA #A856C8 #C084D7

Accessibility & contrast

On white

6.55
#8A37AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8A37AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37AA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37AA#FFFFFF#000000##FFFFFF
##8A37AA1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#3460A7
Tritanopia (blue-blind)
#884D6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a37aa;
/* rgb */ color: rgb(138, 55, 170);
/* oklch */ color: oklch(50.3% 0.184 315.1);
Tailwind
colors: {
  custom: {
    50: '#b074c4',
    500: '#8a37aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a37aa;
$custom-light: #b074c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37aa",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 283.304,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50283,
    "c": 0.1843,
    "h": 315.1
  },
  "luminance": 0.11038
}

Semantic roles & 50–950 ramp

primary
#8A37AA
secondary
#8FC17C
accent
#DB4D75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A37AA

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

Preview Lab → · Contrast checker → · Palette generator →

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