#A337B2#A337B2

#A337B2 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.202 H 322.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A337B2
RGBrgb(163, 55, 178)
HSLhsl(293, 53%, 46%)
HSVhsv(293, 69%, 70%)
CMYKcmyk(8.4%, 69.1%, 0%, 30.2%)
CIE-LABlab(43.85, 60.26, -44.08)
CIE-LCHlch(43.85, 74.66, 323.81°)
OKLaboklab(54.21% 0.1607 -0.1229)
OKLCHoklch(54.21% 0.202 322.6)
XYZxyz(24.5055, 13.7346, 43.4711)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337B2 #46B237
analogous
#6537B2 #A337B2 #B23783
triadic
#A337B2 #B2A337 #37B2A3
tetradic
#A337B2 #B26537 #46B237 #3783B2
square
#A337B2 #B26537 #46B237 #3783B2
split-complementary
#A337B2 #83B237 #37B265
monochromatic
#4D1A54 #782983 #A337B2 #BE5ACC #D189DB

Accessibility & contrast

On white

5.61
#A337B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A337B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337B2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337B2#FFFFFF#000000##FFFFFF
##A337B21.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F60B6
Deuteranopia (green-blind)
#496CAF
Tritanopia (blue-blind)
#A54C70
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a337b2;
/* rgb */ color: rgb(163, 55, 178);
/* oklch */ color: oklch(54.2% 0.202 322.6);
Tailwind
colors: {
  custom: {
    50: '#c277c9',
    500: '#a337b2',
    950: '#000000',
  },
}
SCSS
$custom: #a337b2;
$custom-light: #c277c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a337b2",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 292.683,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54212,
    "c": 0.2023,
    "h": 322.6
  },
  "luminance": 0.13733
}

Semantic roles & 50–950 ramp

primary
#A337B2
secondary
#89C580
accent
#DC4C5D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A337B2

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

Preview Lab → · Contrast checker → · Palette generator →

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