#8337AA#8337AA

#8337AA is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.182 H 312.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8337AA
RGBrgb(131, 55, 170)
HSLhsl(280, 51%, 44%)
HSVhsv(280, 68%, 67%)
CMYKcmyk(22.9%, 67.6%, 0%, 33.3%)
CIE-LABlab(38.66, 51.44, -47.92)
CIE-LCHlch(38.66, 70.30, 317.03°)
OKLaboklab(49.37% 0.1215 -0.1351)
OKLCHoklch(49.37% 0.182 312)
XYZxyz(17.9806, 10.4604, 39.0943)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337AA #5EAA37
analogous
#4A37AA #8337AA #AA3798
triadic
#8337AA #AA8337 #37AA83
tetradic
#8337AA #AA4A37 #5EAA37 #3798AA
square
#8337AA #AA4A37 #5EAA37 #3798AA
split-complementary
#8337AA #98AA37 #37AA4A
monochromatic
#3C194E #5F287C #8337AA #A256C8 #BB84D7

Accessibility & contrast

On white

6.79
#8337AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8337AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8337AA#FFFFFF#000000##FFFFFF
##8337AA1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#2B5DA7
Tritanopia (blue-blind)
#7E4E6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8337aa;
/* rgb */ color: rgb(131, 55, 170);
/* oklch */ color: oklch(49.4% 0.182 312.0);
Tailwind
colors: {
  custom: {
    50: '#ab74c4',
    500: '#8337aa',
    950: '#000000',
  },
}
SCSS
$custom: #8337aa;
$custom-light: #ab74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8337aa",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 279.652,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.18172,
    "h": 312
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#8337AA
secondary
#93C17C
accent
#DB4D7D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8337AA

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

Preview Lab → · Contrast checker → · Palette generator →

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