#A337B5#A337B5

#A337B5 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.4% C 0.205 H 321.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A337B5
RGBrgb(163, 55, 181)
HSLhsl(291, 53%, 46%)
HSVhsv(291, 70%, 71%)
CMYKcmyk(9.9%, 69.6%, 0%, 29%)
CIE-LABlab(44.03, 60.81, -45.56)
CIE-LCHlch(44.03, 75.99, 323.16°)
OKLaboklab(54.4% 0.1606 -0.1273)
OKLCHoklch(54.4% 0.205 321.6)
XYZxyz(24.8100, 13.8564, 45.0748)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337B5 #49B537
analogous
#6437B5 #A337B5 #B53788
triadic
#A337B5 #B5A337 #37B5A3
tetradic
#A337B5 #B56437 #49B537 #3788B5
square
#A337B5 #B56437 #49B537 #3788B5
split-complementary
#A337B5 #88B537 #37B564
monochromatic
#4E1A57 #792986 #A337B5 #BD5CCD #D08BDC

Accessibility & contrast

On white

5.57
#A337B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A337B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337B5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337B5#FFFFFF#000000##FFFFFF
##A337B51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0460B9
Deuteranopia (green-blind)
#466CB2
Tritanopia (blue-blind)
#A54D72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a337b5;
/* rgb */ color: rgb(163, 55, 181);
/* oklch */ color: oklch(54.4% 0.205 321.6);
Tailwind
colors: {
  custom: {
    50: '#c277cc',
    500: '#a337b5',
    950: '#000000',
  },
}
SCSS
$custom: #a337b5;
$custom-light: #c277cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a337b5",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 291.429,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.2049,
    "h": 321.6
  },
  "luminance": 0.13855
}

Semantic roles & 50–950 ramp

primary
#A337B5
secondary
#8CC682
accent
#DD4B60
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A337B5

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

Preview Lab → · Contrast checker → · Palette generator →

#A337B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva