#8337A2#8337A2

#8337A2 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.8% C 0.174 H 314.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8337A2
RGBrgb(131, 55, 162)
HSLhsl(283, 49%, 43%)
HSVhsv(283, 66%, 64%)
CMYKcmyk(19.1%, 66%, 0%, 36.5%)
CIE-LABlab(38.14, 49.71, -43.96)
CIE-LCHlch(38.14, 66.35, 318.51°)
OKLaboklab(48.83% 0.122 -0.1235)
OKLCHoklch(48.83% 0.174 314.6)
XYZxyz(17.2468, 10.1669, 35.2293)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337A2 #56A237
analogous
#4E37A2 #8337A2 #A2378B
triadic
#8337A2 #A28337 #37A283
tetradic
#8337A2 #A24E37 #56A237 #378BA2
square
#8337A2 #A24E37 #56A237 #378BA2
split-complementary
#8337A2 #8BA237 #37A24E
monochromatic
#391847 #5E2774 #8337A2 #A352C4 #BB80D4

Accessibility & contrast

On white

6.92
#8337A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8337A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8337A2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8337A2#FFFFFF#000000##FFFFFF
##8337A21.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0255A5
Deuteranopia (green-blind)
#345C9F
Tritanopia (blue-blind)
#804B68
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8337a2;
/* rgb */ color: rgb(131, 55, 162);
/* oklch */ color: oklch(48.8% 0.174 314.6);
Tailwind
colors: {
  custom: {
    50: '#aa73be',
    500: '#8337a2',
    950: '#000000',
  },
}
SCSS
$custom: #8337a2;
$custom-light: #aa73be;
$custom-dark: #000000;
JSON
{
  "hex": "#8337a2",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 282.617,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48831,
    "c": 0.17361,
    "h": 314.6
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#8337A2
secondary
#8CBD78
accent
#D94F77
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8337A2

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

Preview Lab → · Contrast checker → · Palette generator →

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