#A337A4#A337A4

#A337A4 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.190 H 327.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A337A4
RGBrgb(163, 55, 164)
HSLhsl(299, 50%, 43%)
HSVhsv(299, 66%, 64%)
CMYKcmyk(0.6%, 66.5%, 0%, 35.7%)
CIE-LABlab(43.06, 57.76, -37.03)
CIE-LCHlch(43.06, 68.61, 327.34°)
OKLaboklab(53.39% 0.1606 -0.1024)
OKLCHoklch(53.39% 0.19 327.5)
XYZxyz(23.1709, 13.2008, 36.4423)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337A4 #38A437
analogous
#6D37A4 #A337A4 #A4376E
triadic
#A337A4 #A4A337 #37A4A3
tetradic
#A337A4 #A46D37 #38A437 #376EA4
square
#A337A4 #A46D37 #38A437 #376EA4
split-complementary
#A337A4 #6EA437 #37A46D
monochromatic
#481848 #752876 #A337A4 #C453C5 #D481D5

Accessibility & contrast

On white

5.77
#A337A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A337A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337A4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337A4#FFFFFF#000000##FFFFFF
##A337A41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA7
Deuteranopia (green-blind)
#516BA1
Tritanopia (blue-blind)
#A84669
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a337a4;
/* rgb */ color: rgb(163, 55, 164);
/* oklch */ color: oklch(53.4% 0.190 327.5);
Tailwind
colors: {
  custom: {
    50: '#c177bf',
    500: '#a337a4',
    950: '#000000',
  },
}
SCSS
$custom: #a337a4;
$custom-light: #c177bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a337a4",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 299.45,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53393,
    "c": 0.19044,
    "h": 327.5
  },
  "luminance": 0.13199
}

Semantic roles & 50–950 ramp

primary
#A337A4
secondary
#79BE79
accent
#D94F50
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A337A4

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

Preview Lab → · Contrast checker → · Palette generator →

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