#8A37C6#8A37C6

#8A37C6 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.212 H 306.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A37C6
RGBrgb(138, 55, 198)
HSLhsl(275, 57%, 50%)
HSVhsv(275, 72%, 78%)
CMYKcmyk(30.3%, 72.2%, 0%, 22.4%)
CIE-LABlab(41.55, 59.10, -59.68)
CIE-LCHlch(41.55, 83.99, 314.72°)
OKLaboklab(52.25% 0.1273 -0.1695)
OKLCHoklch(52.25% 0.212 306.9)
XYZxyz(22.0383, 12.2131, 54.6115)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37C6 #73C637
analogous
#4237C6 #8A37C6 #C637BB
triadic
#8A37C6 #C68A37 #37C68A
tetradic
#8A37C6 #C64237 #73C637 #37BBC6
square
#8A37C6 #C64237 #73C637 #37BBC6
split-complementary
#8A37C6 #BBC637 #37C642
monochromatic
#471C66 #692A96 #8A37C6 #A666D4 #C296E2

Accessibility & contrast

On white

6.10
#8A37C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8A37C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37C6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37C6#FFFFFF#000000##FFFFFF
##8A37C61.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#80597B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a37c6;
/* rgb */ color: rgb(138, 55, 198);
/* oklch */ color: oklch(52.2% 0.212 306.9);
Tailwind
colors: {
  custom: {
    50: '#b175d8',
    500: '#8a37c6',
    950: '#000000',
  },
}
SCSS
$custom: #8a37c6;
$custom-light: #b175d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37c6",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 274.825,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.21194,
    "h": 306.9
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#8A37C6
secondary
#A7CD8C
accent
#E04888
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8A37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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