#8A37BD#8A37BD

#8A37BD is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.203 H 309.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8A37BD
RGBrgb(138, 55, 189)
HSLhsl(277, 55%, 48%)
HSVhsv(277, 71%, 74%)
CMYKcmyk(27%, 70.9%, 0%, 25.9%)
CIE-LABlab(40.91, 57.11, -55.46)
CIE-LCHlch(40.91, 79.60, 315.84°)
OKLaboklab(51.59% 0.1286 -0.1571)
OKLCHoklch(51.59% 0.203 309.3)
XYZxyz(21.0309, 11.8102, 49.3059)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37BD #6ABD37
analogous
#4737BD #8A37BD #BD37AD
triadic
#8A37BD #BD8A37 #37BD8A
tetradic
#8A37BD #BD4737 #6ABD37 #37ADBD
square
#8A37BD #BD4737 #6ABD37 #37ADBD
split-complementary
#8A37BD #ADBD37 #37BD47
monochromatic
#451B5E #67298E #8A37BD #A660D1 #C190DF

Accessibility & contrast

On white

6.25
#8A37BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8A37BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37BD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37BD#FFFFFF#000000##FFFFFF
##8A37BD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#1A62BA
Tritanopia (blue-blind)
#835576
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a37bd;
/* rgb */ color: rgb(138, 55, 189);
/* oklch */ color: oklch(51.6% 0.203 309.3);
Tailwind
colors: {
  custom: {
    50: '#b175d2',
    500: '#8a37bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a37bd;
$custom-light: #b175d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37bd",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 277.164,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51593,
    "c": 0.20303,
    "h": 309.3
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#8A37BD
secondary
#A0C986
accent
#DE4A82
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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