#A337BA#A337BA

#A337BA is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.209 H 320.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A337BA
RGBrgb(163, 55, 186)
HSLhsl(289, 54%, 47%)
HSVhsv(289, 70%, 73%)
CMYKcmyk(12.4%, 70.4%, 0%, 27.1%)
CIE-LABlab(44.33, 61.74, -48.02)
CIE-LCHlch(44.33, 78.22, 322.13°)
OKLaboklab(54.71% 0.1603 -0.1344)
OKLCHoklch(54.71% 0.209 320)
XYZxyz(25.3323, 14.0653, 47.8254)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337BA #4EBA37
analogous
#6237BA #A337BA #BA378F
triadic
#A337BA #BAA337 #37BAA3
tetradic
#A337BA #BA6237 #4EBA37 #378FBA
square
#A337BA #BA6237 #4EBA37 #378FBA
split-complementary
#A337BA #8FBA37 #37BA62
monochromatic
#501B5C #7A298B #A337BA #BC5FD0 #D08EDE

Accessibility & contrast

On white

5.51
#A337BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A337BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337BA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337BA#FFFFFF#000000##FFFFFF
##A337BA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#436DB7
Tritanopia (blue-blind)
#A45075
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a337ba;
/* rgb */ color: rgb(163, 55, 186);
/* oklch */ color: oklch(54.7% 0.209 320.0);
Tailwind
colors: {
  custom: {
    50: '#c277cf',
    500: '#a337ba',
    950: '#000000',
  },
}
SCSS
$custom: #a337ba;
$custom-light: #c277cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a337ba",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 289.466,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54706,
    "c": 0.20925,
    "h": 320
  },
  "luminance": 0.14064
}

Semantic roles & 50–950 ramp

primary
#A337BA
secondary
#91C885
accent
#DE4A64
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A337BA

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

Preview Lab → · Contrast checker → · Palette generator →

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