#8337A3#8337A3

#8337A3 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.9% C 0.175 H 314.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8337A3
RGBrgb(131, 55, 163)
HSLhsl(282, 50%, 43%)
HSVhsv(282, 66%, 64%)
CMYKcmyk(19.6%, 66.3%, 0%, 36.1%)
CIE-LABlab(38.20, 49.92, -44.46)
CIE-LCHlch(38.20, 66.85, 318.31°)
OKLaboklab(48.9% 0.1219 -0.125)
OKLCHoklch(48.9% 0.175 314.3)
XYZxyz(17.3360, 10.2026, 35.6993)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337A3 #57A337
analogous
#4D37A3 #8337A3 #A3378D
triadic
#8337A3 #A38337 #37A383
tetradic
#8337A3 #A34D37 #57A337 #378DA3
square
#8337A3 #A34D37 #57A337 #378DA3
split-complementary
#8337A3 #8DA337 #37A34D
monochromatic
#391847 #5E2875 #8337A3 #A352C5 #BB80D4

Accessibility & contrast

On white

6.91
#8337A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8337A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337A3
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337A3#FFFFFF#000000##FFFFFF
##8337A31.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#335CA0
Tritanopia (blue-blind)
#804C68
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8337a3;
/* rgb */ color: rgb(131, 55, 163);
/* oklch */ color: oklch(48.9% 0.175 314.3);
Tailwind
colors: {
  custom: {
    50: '#aa73bf',
    500: '#8337a3',
    950: '#000000',
  },
}
SCSS
$custom: #8337a3;
$custom-light: #aa73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8337a3",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 282.222,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48897,
    "c": 0.17462,
    "h": 314.3
  },
  "luminance": 0.10202
}

Semantic roles & 50–950 ramp

primary
#8337A3
secondary
#8DBE78
accent
#D94F78
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8337A3

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

Preview Lab → · Contrast checker → · Palette generator →

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