#8A37AF#8A37AF

#8A37AF is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.189 H 313.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8A37AF
RGBrgb(138, 55, 175)
HSLhsl(282, 52%, 45%)
HSVhsv(282, 69%, 69%)
CMYKcmyk(21.1%, 68.6%, 0%, 31.4%)
CIE-LABlab(39.97, 54.08, -48.73)
CIE-LCHlch(39.97, 72.79, 317.98°)
OKLaboklab(50.62% 0.1302 -0.1373)
OKLCHoklch(50.62% 0.189 313.5)
XYZxyz(19.5839, 11.2314, 41.6854)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37AF #5CAF37
analogous
#4E37AF #8A37AF #AF3798
triadic
#8A37AF #AF8A37 #37AF8A
tetradic
#8A37AF #AF4E37 #5CAF37 #3798AF
square
#8A37AF #AF4E37 #5CAF37 #3798AF
split-complementary
#8A37AF #98AF37 #37AF4E
monochromatic
#411A52 #652880 #8A37AF #A759CB #C087D9

Accessibility & contrast

On white

6.47
#8A37AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8A37AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37AF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37AF#FFFFFF#000000##FFFFFF
##8A37AF1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#2F60AC
Tritanopia (blue-blind)
#864F6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a37af;
/* rgb */ color: rgb(138, 55, 175);
/* oklch */ color: oklch(50.6% 0.189 313.5);
Tailwind
colors: {
  custom: {
    50: '#b074c7',
    500: '#8a37af',
    950: '#000000',
  },
}
SCSS
$custom: #8a37af;
$custom-light: #b074c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37af",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 281.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.18921,
    "h": 313.5
  },
  "luminance": 0.11231
}

Semantic roles & 50–950 ramp

primary
#8A37AF
secondary
#94C37F
accent
#DC4C78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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