#8337A4#8337A4

#8337A4 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.176 H 313.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8337A4
RGBrgb(131, 55, 164)
HSLhsl(282, 50%, 43%)
HSVhsv(282, 66%, 64%)
CMYKcmyk(20.1%, 66.5%, 0%, 35.7%)
CIE-LABlab(38.27, 50.14, -44.95)
CIE-LCHlch(38.27, 67.34, 318.12°)
OKLaboklab(48.96% 0.1219 -0.1265)
OKLCHoklch(48.96% 0.176 313.9)
XYZxyz(17.4260, 10.2386, 36.1730)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337A4 #58A437
analogous
#4C37A4 #8337A4 #A4378E
triadic
#8337A4 #A48337 #37A483
tetradic
#8337A4 #A44C37 #58A437 #378EA4
square
#8337A4 #A44C37 #58A437 #378EA4
split-complementary
#8337A4 #8EA437 #37A44C
monochromatic
#3A1848 #5E2876 #8337A4 #A353C5 #BB81D5

Accessibility & contrast

On white

6.89
#8337A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8337A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337A4
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337A4#FFFFFF#000000##FFFFFF
##8337A41.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#325CA1
Tritanopia (blue-blind)
#804C69
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8337a4;
/* rgb */ color: rgb(131, 55, 164);
/* oklch */ color: oklch(49.0% 0.176 313.9);
Tailwind
colors: {
  custom: {
    50: '#aa73bf',
    500: '#8337a4',
    950: '#000000',
  },
}
SCSS
$custom: #8337a4;
$custom-light: #aa73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8337a4",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 281.835,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48963,
    "c": 0.17563,
    "h": 313.9
  },
  "luminance": 0.10238
}

Semantic roles & 50–950 ramp

primary
#8337A4
secondary
#8EBE79
accent
#D94F79
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8337A4

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

Preview Lab → · Contrast checker → · Palette generator →

#8337A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva