#8A37B5#8A37B5

#8A37B5 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.195 H 311.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8A37B5
RGBrgb(138, 55, 181)
HSLhsl(280, 53%, 46%)
HSVhsv(280, 70%, 71%)
CMYKcmyk(23.8%, 69.6%, 0%, 29%)
CIE-LABlab(40.37, 55.36, -51.64)
CIE-LCHlch(40.37, 75.71, 316.99°)
OKLaboklab(51.03% 0.1296 -0.1458)
OKLCHoklch(51.03% 0.195 311.6)
XYZxyz(20.1864, 11.4724, 44.8581)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37B5 #62B537
analogous
#4B37B5 #8A37B5 #B537A1
triadic
#8A37B5 #B58A37 #37B58A
tetradic
#8A37B5 #B54B37 #62B537 #37A1B5
square
#8A37B5 #B54B37 #62B537 #37A1B5
split-complementary
#8A37B5 #A1B537 #37B54B
monochromatic
#421A57 #662986 #8A37B5 #A75CCD #C08BDC

Accessibility & contrast

On white

6.37
#8A37B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8A37B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37B5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37B5#FFFFFF#000000##FFFFFF
##8A37B51.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#2861B2
Tritanopia (blue-blind)
#855272
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a37b5;
/* rgb */ color: rgb(138, 55, 181);
/* oklch */ color: oklch(51.0% 0.195 311.6);
Tailwind
colors: {
  custom: {
    50: '#b075cc',
    500: '#8a37b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a37b5;
$custom-light: #b075cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37b5",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 279.524,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.19512,
    "h": 311.6
  },
  "luminance": 0.11472
}

Semantic roles & 50–950 ramp

primary
#8A37B5
secondary
#99C682
accent
#DD4B7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8A37B5

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

Preview Lab → · Contrast checker → · Palette generator →

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