#8A37A7#8A37A7

#8A37A7 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.181 H 316.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8A37A7
RGBrgb(138, 55, 167)
HSLhsl(284, 50%, 44%)
HSVhsv(284, 67%, 65%)
CMYKcmyk(17.4%, 67.1%, 0%, 34.5%)
CIE-LABlab(39.46, 52.40, -44.79)
CIE-LCHlch(39.46, 68.93, 319.48°)
OKLaboklab(50.09% 0.1307 -0.1258)
OKLCHoklch(50.09% 0.181 316.1)
XYZxyz(18.8214, 10.9264, 37.6693)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37A7 #54A737
analogous
#5237A7 #8A37A7 #A7378C
triadic
#8A37A7 #A78A37 #37A78A
tetradic
#8A37A7 #A75237 #54A737 #378CA7
square
#8A37A7 #A75237 #54A737 #378CA7
split-complementary
#8A37A7 #8CA737 #37A752
monochromatic
#3E194B #642879 #8A37A7 #A954C7 #C082D6

Accessibility & contrast

On white

6.59
#8A37A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8A37A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37A7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37A7#FFFFFF#000000##FFFFFF
##8A37A71.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#375FA4
Tritanopia (blue-blind)
#884C6A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a37a7;
/* rgb */ color: rgb(138, 55, 167);
/* oklch */ color: oklch(50.1% 0.181 316.1);
Tailwind
colors: {
  custom: {
    50: '#af74c2',
    500: '#8a37a7',
    950: '#000000',
  },
}
SCSS
$custom: #8a37a7;
$custom-light: #af74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37a7",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 284.464,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.18137,
    "h": 316.1
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#8A37A7
secondary
#8CC07A
accent
#DA4E72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8A37A7

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

Preview Lab → · Contrast checker → · Palette generator →

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