#8A37C9#8A37C9

#8A37C9 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.215 H 306.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8A37C9
RGBrgb(138, 55, 201)
HSLhsl(274, 57%, 50%)
HSVhsv(274, 73%, 79%)
CMYKcmyk(31.3%, 72.6%, 0%, 21.2%)
CIE-LABlab(41.77, 59.77, -61.06)
CIE-LCHlch(41.77, 85.45, 314.39°)
OKLaboklab(52.47% 0.1268 -0.1735)
OKLCHoklch(52.47% 0.215 306.1)
XYZxyz(22.3877, 12.3529, 56.4520)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37C9 #76C937
analogous
#4137C9 #8A37C9 #C937BF
triadic
#8A37C9 #C98A37 #37C98A
tetradic
#8A37C9 #C94137 #76C937 #37BFC9
square
#8A37C9 #C94137 #76C937 #37BFC9
split-complementary
#8A37C9 #BFC937 #37C941
monochromatic
#481C69 #692999 #8A37C9 #A667D6 #C297E3

Accessibility & contrast

On white

6.05
#8A37C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8A37C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37C9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37C9#FFFFFF#000000##FFFFFF
##8A37C91.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#7F5A7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a37c9;
/* rgb */ color: rgb(138, 55, 201);
/* oklch */ color: oklch(52.5% 0.215 306.1);
Tailwind
colors: {
  custom: {
    50: '#b175da',
    500: '#8a37c9',
    950: '#000000',
  },
}
SCSS
$custom: #8a37c9;
$custom-light: #b175da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37c9",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 201
  },
  "hsl": {
    "h": 274.11,
    "s": 57.48,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52473,
    "c": 0.21492,
    "h": 306.1
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#8A37C9
secondary
#A9CF8D
accent
#E14789
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A37C9

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

Preview Lab → · Contrast checker → · Palette generator →

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