#A337C5#A337C5

#A337C5 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.219 H 316.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A337C5
RGBrgb(163, 55, 197)
HSLhsl(286, 56%, 49%)
HSVhsv(286, 72%, 77%)
CMYKcmyk(17.3%, 72.1%, 0%, 22.7%)
CIE-LABlab(45.01, 63.85, -53.33)
CIE-LCHlch(45.01, 83.19, 320.13°)
OKLaboklab(55.42% 0.1595 -0.15)
OKLCHoklch(55.42% 0.219 316.8)
XYZxyz(26.5470, 14.5512, 54.2228)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337C5 #59C537
analogous
#5C37C5 #A337C5 #C537A0
triadic
#A337C5 #C5A337 #37C5A3
tetradic
#A337C5 #C55C37 #59C537 #37A0C5
square
#A337C5 #C55C37 #59C537 #37A0C5
split-complementary
#A337C5 #A0C537 #37C55C
monochromatic
#541C65 #7B2A95 #A337C5 #B965D4 #CF95E1

Accessibility & contrast

On white

5.37
#A337C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A337C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337C5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337C5#FFFFFF#000000##FFFFFF
##A337C51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#386EC2
Tritanopia (blue-blind)
#A1547B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a337c5;
/* rgb */ color: rgb(163, 55, 197);
/* oklch */ color: oklch(55.4% 0.219 316.8);
Tailwind
colors: {
  custom: {
    50: '#c278d7',
    500: '#a337c5',
    950: '#000000',
  },
}
SCSS
$custom: #a337c5;
$custom-light: #c278d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a337c5",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 285.634,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55416,
    "c": 0.21894,
    "h": 316.8
  },
  "luminance": 0.1455
}

Semantic roles & 50–950 ramp

primary
#A337C5
secondary
#9BCD8B
accent
#E0486C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A337C5

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

Preview Lab → · Contrast checker → · Palette generator →

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