#8A37BE#8A37BE

#8A37BE is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.204 H 309.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8A37BE
RGBrgb(138, 55, 190)
HSLhsl(277, 55%, 48%)
HSVhsv(277, 71%, 75%)
CMYKcmyk(27.4%, 71.1%, 0%, 25.5%)
CIE-LABlab(40.98, 57.33, -55.93)
CIE-LCHlch(40.98, 80.09, 315.71°)
OKLaboklab(51.67% 0.1285 -0.1585)
OKLCHoklch(51.67% 0.204 309)
XYZxyz(21.1398, 11.8537, 49.8796)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37BE #6BBE37
analogous
#4637BE #8A37BE #BE37AE
triadic
#8A37BE #BE8A37 #37BE8A
tetradic
#8A37BE #BE4637 #6BBE37 #37AEBE
square
#8A37BE #BE4637 #6BBE37 #37AEBE
split-complementary
#8A37BE #AEBE37 #37BE46
monochromatic
#451C5F #68298F #8A37BE #A661D1 #C190DF

Accessibility & contrast

On white

6.23
#8A37BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8A37BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37BE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37BE#FFFFFF#000000##FFFFFF
##8A37BE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#1862BB
Tritanopia (blue-blind)
#825577
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a37be;
/* rgb */ color: rgb(138, 55, 190);
/* oklch */ color: oklch(51.7% 0.204 309.0);
Tailwind
colors: {
  custom: {
    50: '#b175d2',
    500: '#8a37be',
    950: '#000000',
  },
}
SCSS
$custom: #8a37be;
$custom-light: #b175d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37be",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 276.889,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51665,
    "c": 0.20402,
    "h": 309
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#8A37BE
secondary
#A1CA87
accent
#DE4983
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A37BE

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

Preview Lab → · Contrast checker → · Palette generator →

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