#8A37C4#8A37C4

#8A37C4 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.210 H 307.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8A37C4
RGBrgb(138, 55, 196)
HSLhsl(275, 56%, 49%)
HSVhsv(275, 72%, 77%)
CMYKcmyk(29.6%, 71.9%, 0%, 23.1%)
CIE-LABlab(41.41, 58.65, -58.75)
CIE-LCHlch(41.41, 83.01, 314.96°)
OKLaboklab(52.1% 0.1276 -0.1667)
OKLCHoklch(52.1% 0.21 307.4)
XYZxyz(21.8091, 12.1215, 53.4046)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37C4 #71C437
analogous
#4437C4 #8A37C4 #C437B8
triadic
#8A37C4 #C48A37 #37C48A
tetradic
#8A37C4 #C44437 #71C437 #37B8C4
square
#8A37C4 #C44437 #71C437 #37B8C4
split-complementary
#8A37C4 #B8C437 #37C444
monochromatic
#471C64 #682A94 #8A37C4 #A665D4 #C294E1

Accessibility & contrast

On white

6.13
#8A37C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A37C4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37C4#FFFFFF#000000##FFFFFF
##8A37C41.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0162C1
Tritanopia (blue-blind)
#80587A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a37c4;
/* rgb */ color: rgb(138, 55, 196);
/* oklch */ color: oklch(52.1% 0.210 307.4);
Tailwind
colors: {
  custom: {
    50: '#b175d7',
    500: '#8a37c4',
    950: '#000000',
  },
}
SCSS
$custom: #8a37c4;
$custom-light: #b175d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37c4",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 275.319,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.20996,
    "h": 307.4
  },
  "luminance": 0.12121
}

Semantic roles & 50–950 ramp

primary
#8A37C4
secondary
#A6CC8B
accent
#DF4887
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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