#A337C2#A337C2

#A337C2 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.216 H 317.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A337C2
RGBrgb(163, 55, 194)
HSLhsl(287, 56%, 49%)
HSVhsv(287, 72%, 76%)
CMYKcmyk(16%, 71.6%, 0%, 23.9%)
CIE-LABlab(44.82, 63.27, -51.89)
CIE-LCHlch(44.82, 81.83, 320.64°)
OKLaboklab(55.22% 0.1598 -0.1458)
OKLCHoklch(55.22% 0.216 317.6)
XYZxyz(26.2067, 14.4151, 52.4304)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337C2 #56C237
analogous
#5E37C2 #A337C2 #C2379C
triadic
#A337C2 #C2A337 #37C2A3
tetradic
#A337C2 #C25E37 #56C237 #379CC2
square
#A337C2 #C25E37 #56C237 #379CC2
split-complementary
#A337C2 #9CC237 #37C25E
monochromatic
#531C63 #7B2992 #A337C2 #BA63D3 #CF93E0

Accessibility & contrast

On white

5.41
#A337C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A337C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337C2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337C2#FFFFFF#000000##FFFFFF
##A337C21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#3B6DBF
Tritanopia (blue-blind)
#A25379
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a337c2;
/* rgb */ color: rgb(163, 55, 194);
/* oklch */ color: oklch(55.2% 0.216 317.6);
Tailwind
colors: {
  custom: {
    50: '#c278d5',
    500: '#a337c2',
    950: '#000000',
  },
}
SCSS
$custom: #a337c2;
$custom-light: #c278d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a337c2",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 286.619,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55219,
    "c": 0.21629,
    "h": 317.6
  },
  "luminance": 0.14414
}

Semantic roles & 50–950 ramp

primary
#A337C2
secondary
#98CB89
accent
#DF496A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A337C2

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

Preview Lab → · Contrast checker → · Palette generator →

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