#8337A7#8337A7

#8337A7 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.179 H 312.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8337A7
RGBrgb(131, 55, 167)
HSLhsl(281, 50%, 44%)
HSVhsv(281, 67%, 65%)
CMYKcmyk(21.6%, 67.1%, 0%, 34.5%)
CIE-LABlab(38.46, 50.79, -46.44)
CIE-LCHlch(38.46, 68.82, 317.56°)
OKLaboklab(49.16% 0.1217 -0.1308)
OKLCHoklch(49.16% 0.179 312.9)
XYZxyz(17.7001, 10.3482, 37.6167)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8337A7 #5BA737
analogous
#4B37A7 #8337A7 #A73793
triadic
#8337A7 #A78337 #37A783
tetradic
#8337A7 #A74B37 #5BA737 #3793A7
square
#8337A7 #A74B37 #5BA737 #3793A7
split-complementary
#8337A7 #93A737 #37A74B
monochromatic
#3B194B #5F2879 #8337A7 #A254C7 #BB82D6

Accessibility & contrast

On white

6.84
#8337A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8337A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8337A7#FFFFFF#000000##FFFFFF
##8337A71.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#2F5CA4
Tritanopia (blue-blind)
#7F4D6A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8337a7;
/* rgb */ color: rgb(131, 55, 167);
/* oklch */ color: oklch(49.2% 0.179 312.9);
Tailwind
colors: {
  custom: {
    50: '#aa73c2',
    500: '#8337a7',
    950: '#000000',
  },
}
SCSS
$custom: #8337a7;
$custom-light: #aa73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8337a7",
  "rgb": {
    "r": 131,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 280.714,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.17868,
    "h": 312.9
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#8337A7
secondary
#91C07A
accent
#DA4E7B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8337A7

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

Preview Lab → · Contrast checker → · Palette generator →

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