#8337A6#8337A6

#8337A6 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.1% C 0.178 H 313.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8337A6
RGBrgb(131, 55, 166)
HSLhsl(281, 50%, 43%)
HSVhsv(281, 67%, 65%)
CMYKcmyk(21.1%, 66.9%, 0%, 34.9%)
CIE-LABlab(38.40, 50.57, -45.95)
CIE-LCHlch(38.40, 68.32, 317.74°)
OKLaboklab(49.1% 0.1218 -0.1294)
OKLCHoklch(49.1% 0.178 313.3)
XYZxyz(17.6080, 10.3114, 37.1317)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337A6 #5AA637
analogous
#4B37A6 #8337A6 #A63791
triadic
#8337A6 #A68337 #37A683
tetradic
#8337A6 #A64B37 #5AA637 #3791A6
square
#8337A6 #A64B37 #5AA637 #3791A6
split-complementary
#8337A6 #91A637 #37A64B
monochromatic
#3A194A #5F2878 #8337A6 #A254C6 #BB82D6

Accessibility & contrast

On white

6.86
#8337A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8337A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337A6
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337A6#FFFFFF#000000##FFFFFF
##8337A61.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#305CA3
Tritanopia (blue-blind)
#7F4D6A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8337a6;
/* rgb */ color: rgb(131, 55, 166);
/* oklch */ color: oklch(49.1% 0.178 313.3);
Tailwind
colors: {
  custom: {
    50: '#aa73c1',
    500: '#8337a6',
    950: '#000000',
  },
}
SCSS
$custom: #8337a6;
$custom-light: #aa73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8337a6",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 281.081,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.17766,
    "h": 313.3
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#8337A6
secondary
#90BF7A
accent
#DA4E7A
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8337A6

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

Preview Lab → · Contrast checker → · Palette generator →

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