#A337A2#A337A2

#A337A2 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.189 H 328.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A337A2
RGBrgb(163, 55, 162)
HSLhsl(301, 50%, 43%)
HSVhsv(301, 66%, 64%)
CMYKcmyk(0%, 66.3%, 0.6%, 36.1%)
CIE-LABlab(42.96, 57.41, -36.00)
CIE-LCHlch(42.96, 67.77, 327.91°)
OKLaboklab(53.28% 0.1605 -0.0995)
OKLCHoklch(53.28% 0.189 328.2)
XYZxyz(22.9917, 13.1291, 35.4986)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337A2 #37A338
analogous
#6E37A3 #A337A2 #A3376C
triadic
#A337A2 #A2A337 #37A2A3
tetradic
#A337A2 #A36E37 #37A338 #376CA3
square
#A337A2 #A36E37 #37A338 #376CA3
split-complementary
#A337A2 #6CA337 #37A36E
monochromatic
#471847 #752875 #A337A2 #C552C4 #D480D3

Accessibility & contrast

On white

5.79
#A337A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A337A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337A2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337A2#FFFFFF#000000##FFFFFF
##A337A21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#A84568
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a337a2;
/* rgb */ color: rgb(163, 55, 162);
/* oklch */ color: oklch(53.3% 0.189 328.2);
Tailwind
colors: {
  custom: {
    50: '#c177be',
    500: '#a337a2',
    950: '#000000',
  },
}
SCSS
$custom: #a337a2;
$custom-light: #c177be;
$custom-dark: #000000;
JSON
{
  "hex": "#a337a2",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 300.556,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53281,
    "c": 0.18878,
    "h": 328.2
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#A337A2
secondary
#78BE79
accent
#D9504F
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A337A2

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

Preview Lab → · Contrast checker → · Palette generator →

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