#8A37B3#8A37B3

#8A37B3 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.193 H 312.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A37B3
RGBrgb(138, 55, 179)
HSLhsl(280, 53%, 46%)
HSVhsv(280, 69%, 70%)
CMYKcmyk(22.9%, 69.3%, 0%, 29.8%)
CIE-LABlab(40.23, 54.93, -50.67)
CIE-LCHlch(40.23, 74.73, 317.31°)
OKLaboklab(50.89% 0.1298 -0.143)
OKLCHoklch(50.89% 0.193 312.2)
XYZxyz(19.9826, 11.3909, 43.7851)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37B3 #60B337
analogous
#4C37B3 #8A37B3 #B3379E
triadic
#8A37B3 #B38A37 #37B38A
tetradic
#8A37B3 #B34C37 #60B337 #379EB3
square
#8A37B3 #B34C37 #60B337 #379EB3
split-complementary
#8A37B3 #9EB337 #37B34C
monochromatic
#421A55 #662984 #8A37B3 #A75BCD #C08ADB

Accessibility & contrast

On white

6.41
#8A37B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8A37B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37B3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37B3#FFFFFF#000000##FFFFFF
##8A37B31.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#2A60B0
Tritanopia (blue-blind)
#855171
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a37b3;
/* rgb */ color: rgb(138, 55, 179);
/* oklch */ color: oklch(50.9% 0.193 312.2);
Tailwind
colors: {
  custom: {
    50: '#b075ca',
    500: '#8a37b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a37b3;
$custom-light: #b075ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37b3",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 280.161,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.19315,
    "h": 312.2
  },
  "luminance": 0.1139
}

Semantic roles & 50–950 ramp

primary
#8A37B3
secondary
#97C581
accent
#DC4B7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A37B3

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

Preview Lab → · Contrast checker → · Palette generator →

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