#8A37A3#8A37A3

#8A37A3 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.8% C 0.177 H 317.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8A37A3
RGBrgb(138, 55, 163)
HSLhsl(286, 50%, 43%)
HSVhsv(286, 66%, 64%)
CMYKcmyk(15.3%, 66.3%, 0%, 36.1%)
CIE-LABlab(39.21, 51.57, -42.79)
CIE-LCHlch(39.21, 67.02, 320.32°)
OKLaboklab(49.83% 0.1308 -0.1199)
OKLCHoklch(49.83% 0.177 317.5)
XYZxyz(18.4573, 10.7807, 35.7519)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37A3 #50A337
analogous
#5437A3 #8A37A3 #A33786
triadic
#8A37A3 #A38A37 #37A38A
tetradic
#8A37A3 #A35437 #50A337 #3786A3
square
#8A37A3 #A35437 #50A337 #3786A3
split-complementary
#8A37A3 #86A337 #37A354
monochromatic
#3D1847 #632875 #8A37A3 #AA52C5 #C180D4

Accessibility & contrast

On white

6.65
#8A37A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8A37A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37A3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37A3#FFFFFF#000000##FFFFFF
##8A37A31.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A6
Deuteranopia (green-blind)
#3A5FA0
Tritanopia (blue-blind)
#894B68
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a37a3;
/* rgb */ color: rgb(138, 55, 163);
/* oklch */ color: oklch(49.8% 0.177 317.5);
Tailwind
colors: {
  custom: {
    50: '#af74bf',
    500: '#8a37a3',
    950: '#000000',
  },
}
SCSS
$custom: #8a37a3;
$custom-light: #af74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37a3",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 286.111,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49829,
    "c": 0.17748,
    "h": 317.5
  },
  "luminance": 0.1078
}

Semantic roles & 50–950 ramp

primary
#8A37A3
secondary
#88BE78
accent
#D94F6F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A37A3

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

Preview Lab → · Contrast checker → · Palette generator →

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