#8A37C3#8A37C3

#8A37C3 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.209 H 307.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A37C3
RGBrgb(138, 55, 195)
HSLhsl(276, 56%, 49%)
HSVhsv(276, 72%, 76%)
CMYKcmyk(29.2%, 71.8%, 0%, 23.5%)
CIE-LABlab(41.34, 58.43, -58.28)
CIE-LCHlch(41.34, 82.53, 315.07°)
OKLaboklab(52.03% 0.1278 -0.1654)
OKLCHoklch(52.03% 0.209 307.7)
XYZxyz(21.6957, 12.0761, 52.8072)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37C3 #70C337
analogous
#4437C3 #8A37C3 #C337B6
triadic
#8A37C3 #C38A37 #37C38A
tetradic
#8A37C3 #C34437 #70C337 #37B6C3
square
#8A37C3 #C34437 #70C337 #37B6C3
split-complementary
#8A37C3 #B6C337 #37C344
monochromatic
#461C64 #682A93 #8A37C3 #A664D3 #C194E1

Accessibility & contrast

On white

6.15
#8A37C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8A37C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37C3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37C3#FFFFFF#000000##FFFFFF
##8A37C31.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0662C0
Tritanopia (blue-blind)
#81577A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a37c3;
/* rgb */ color: rgb(138, 55, 195);
/* oklch */ color: oklch(52.0% 0.209 307.7);
Tailwind
colors: {
  custom: {
    50: '#b175d6',
    500: '#8a37c3',
    950: '#000000',
  },
}
SCSS
$custom: #8a37c3;
$custom-light: #b175d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37c3",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 275.571,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52028,
    "c": 0.20897,
    "h": 307.7
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#8A37C3
secondary
#A5CC8A
accent
#DF4986
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A37C3

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

Preview Lab → · Contrast checker → · Palette generator →

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