#A337A7#A337A7

#A337A7 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.6% C 0.193 H 326.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A337A7
RGBrgb(163, 55, 167)
HSLhsl(298, 50%, 44%)
HSVhsv(298, 67%, 65%)
CMYKcmyk(2.4%, 67.1%, 0%, 34.5%)
CIE-LABlab(43.23, 58.28, -38.55)
CIE-LCHlch(43.23, 69.88, 326.52°)
OKLaboklab(53.56% 0.1606 -0.1069)
OKLCHoklch(53.56% 0.193 326.4)
XYZxyz(23.4451, 13.3104, 37.8860)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337A7 #3BA737
analogous
#6B37A7 #A337A7 #A73773
triadic
#A337A7 #A7A337 #37A7A3
tetradic
#A337A7 #A76B37 #3BA737 #3773A7
square
#A337A7 #A76B37 #3BA737 #3773A7
split-complementary
#A337A7 #73A737 #37A76B
monochromatic
#49194B #762879 #A337A7 #C354C7 #D382D6

Accessibility & contrast

On white

5.73
#A337A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A337A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337A7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337A7#FFFFFF#000000##FFFFFF
##A337A71.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235DAA
Deuteranopia (green-blind)
#506BA4
Tritanopia (blue-blind)
#A7476B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a337a7;
/* rgb */ color: rgb(163, 55, 167);
/* oklch */ color: oklch(53.6% 0.193 326.4);
Tailwind
colors: {
  custom: {
    50: '#c177c1',
    500: '#a337a7',
    950: '#000000',
  },
}
SCSS
$custom: #a337a7;
$custom-light: #c177c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a337a7",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 297.857,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53564,
    "c": 0.19294,
    "h": 326.4
  },
  "luminance": 0.13309
}

Semantic roles & 50–950 ramp

primary
#A337A7
secondary
#7DC07A
accent
#DA4E53
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A337A7

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

Preview Lab → · Contrast checker → · Palette generator →

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