#8A37C5#8A37C5

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

Color values

HEX#8A37C5
RGBrgb(138, 55, 197)
HSLhsl(275, 56%, 49%)
HSVhsv(275, 72%, 77%)
CMYKcmyk(29.9%, 72.1%, 0%, 22.7%)
CIE-LABlab(41.48, 58.88, -59.21)
CIE-LCHlch(41.48, 83.50, 314.84°)
OKLaboklab(52.18% 0.1275 -0.1681)
OKLCHoklch(52.18% 0.211 307.2)
XYZxyz(21.9233, 12.1671, 54.0061)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37C5 #72C537
analogous
#4337C5 #8A37C5 #C537B9
triadic
#8A37C5 #C58A37 #37C58A
tetradic
#8A37C5 #C54337 #72C537 #37B9C5
square
#8A37C5 #C54337 #72C537 #37B9C5
split-complementary
#8A37C5 #B9C537 #37C543
monochromatic
#471C65 #682A95 #8A37C5 #A665D4 #C295E1

Accessibility & contrast

On white

6.12
#8A37C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8A37C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37C5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37C5#FFFFFF#000000##FFFFFF
##8A37C51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#80587B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a37c5;
/* rgb */ color: rgb(138, 55, 197);
/* oklch */ color: oklch(52.2% 0.211 307.2);
Tailwind
colors: {
  custom: {
    50: '#b175d7',
    500: '#8a37c5',
    950: '#000000',
  },
}
SCSS
$custom: #8a37c5;
$custom-light: #b175d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37c5",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 275.07,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.21095,
    "h": 307.2
  },
  "luminance": 0.12167
}

Semantic roles & 50–950 ramp

primary
#8A37C5
secondary
#A6CD8B
accent
#E04887
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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