#8A37C0#8A37C0

#8A37C0 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.206 H 308.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8A37C0
RGBrgb(138, 55, 192)
HSLhsl(276, 55%, 48%)
HSVhsv(276, 71%, 75%)
CMYKcmyk(28.1%, 71.4%, 0%, 24.7%)
CIE-LABlab(41.12, 57.77, -56.87)
CIE-LCHlch(41.12, 81.06, 315.45°)
OKLaboklab(51.81% 0.1282 -0.1612)
OKLCHoklch(51.81% 0.206 308.5)
XYZxyz(21.3599, 11.9418, 51.0387)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37C0 #6DC037
analogous
#4537C0 #8A37C0 #C037B1
triadic
#8A37C0 #C08A37 #37C08A
tetradic
#8A37C0 #C04537 #6DC037 #37B1C0
square
#8A37C0 #C04537 #6DC037 #37B1C0
split-complementary
#8A37C0 #B1C037 #37C045
monochromatic
#461C61 #682990 #8A37C0 #A662D2 #C192E0

Accessibility & contrast

On white

6.20
#8A37C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8A37C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37C0
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37C0#FFFFFF#000000##FFFFFF
##8A37C01.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#1262BD
Tritanopia (blue-blind)
#825678
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a37c0;
/* rgb */ color: rgb(138, 55, 192);
/* oklch */ color: oklch(51.8% 0.206 308.5);
Tailwind
colors: {
  custom: {
    50: '#b175d4',
    500: '#8a37c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a37c0;
$custom-light: #b175d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37c0",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 276.35,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.206,
    "h": 308.5
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#8A37C0
secondary
#A2CB88
accent
#DF4984
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A37C0

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

Preview Lab → · Contrast checker → · Palette generator →

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