#8A37A8#8A37A8

#8A37A8 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.182 H 315.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8A37A8
RGBrgb(138, 55, 168)
HSLhsl(284, 51%, 44%)
HSVhsv(284, 67%, 66%)
CMYKcmyk(17.9%, 67.3%, 0%, 34.1%)
CIE-LABlab(39.52, 52.61, -45.28)
CIE-LCHlch(39.52, 69.41, 319.28°)
OKLaboklab(50.15% 0.1306 -0.1272)
OKLCHoklch(50.15% 0.182 315.8)
XYZxyz(18.9142, 10.9635, 38.1580)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37A8 #55A837
analogous
#5137A8 #8A37A8 #A8378D
triadic
#8A37A8 #A88A37 #37A88A
tetradic
#8A37A8 #A85137 #55A837 #378DA8
square
#8A37A8 #A85137 #55A837 #378DA8
split-complementary
#8A37A8 #8DA837 #37A851
monochromatic
#3E194C #64287A #8A37A8 #A955C7 #C083D6

Accessibility & contrast

On white

6.58
#8A37A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A37A8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37A8#FFFFFF#000000##FFFFFF
##8A37A81.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#365FA5
Tritanopia (blue-blind)
#884D6B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a37a8;
/* rgb */ color: rgb(138, 55, 168);
/* oklch */ color: oklch(50.2% 0.182 315.8);
Tailwind
colors: {
  custom: {
    50: '#af74c2',
    500: '#8a37a8',
    950: '#000000',
  },
}
SCSS
$custom: #8a37a8;
$custom-light: #af74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37a8",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 284.071,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.18234,
    "h": 315.8
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#8A37A8
secondary
#8DC07B
accent
#DA4E73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8A37A8

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

Preview Lab → · Contrast checker → · Palette generator →

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