#8A37A0#8A37A0

#8A37A0 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.6% C 0.175 H 318.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A37A0
RGBrgb(138, 55, 160)
HSLhsl(287, 49%, 42%)
HSVhsv(287, 66%, 63%)
CMYKcmyk(13.8%, 65.6%, 0%, 37.3%)
CIE-LABlab(39.03, 50.96, -41.28)
CIE-LCHlch(39.03, 65.58, 320.99°)
OKLaboklab(49.64% 0.1309 -0.1155)
OKLCHoklch(49.64% 0.175 318.6)
XYZxyz(18.1917, 10.6745, 34.3530)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37A0 #4DA037
analogous
#5637A0 #8A37A0 #A03781
triadic
#8A37A0 #A08A37 #37A08A
tetradic
#8A37A0 #A05637 #4DA037 #3781A0
square
#8A37A0 #A05637 #4DA037 #3781A0
split-complementary
#8A37A0 #81A037 #37A056
monochromatic
#3B1845 #632772 #8A37A0 #AB51C3 #C17FD3

Accessibility & contrast

On white

6.70
#8A37A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8A37A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37A0
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37A0#FFFFFF#000000##FFFFFF
##8A37A01.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1456A3
Deuteranopia (green-blind)
#3D5F9D
Tritanopia (blue-blind)
#8A4967
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a37a0;
/* rgb */ color: rgb(138, 55, 160);
/* oklch */ color: oklch(49.6% 0.175 318.6);
Tailwind
colors: {
  custom: {
    50: '#af74bd',
    500: '#8a37a0',
    950: '#000000',
  },
}
SCSS
$custom: #8a37a0;
$custom-light: #af74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37a0",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 287.429,
    "s": 48.837,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4964,
    "c": 0.17457,
    "h": 318.6
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#8A37A0
secondary
#85BC77
accent
#D84F6C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A37A0

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

Preview Lab → · Contrast checker → · Palette generator →

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