#A337C4#A337C4

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

Color values

HEX#A337C4
RGBrgb(163, 55, 196)
HSLhsl(286, 56%, 49%)
HSVhsv(286, 72%, 77%)
CMYKcmyk(16.8%, 71.9%, 0%, 23.1%)
CIE-LABlab(44.95, 63.65, -52.85)
CIE-LCHlch(44.95, 82.74, 320.30°)
OKLaboklab(55.35% 0.1596 -0.1486)
OKLCHoklch(55.35% 0.218 317)
XYZxyz(26.4328, 14.5055, 53.6213)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337C4 #58C437
analogous
#5C37C4 #A337C4 #C4379F
triadic
#A337C4 #C4A337 #37C4A3
tetradic
#A337C4 #C45C37 #58C437 #379FC4
square
#A337C4 #C45C37 #58C437 #379FC4
split-complementary
#A337C4 #9FC437 #37C45C
monochromatic
#541C64 #7B2A94 #A337C4 #BA65D4 #CF94E1

Accessibility & contrast

On white

5.38
#A337C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A337C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337C4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337C4#FFFFFF#000000##FFFFFF
##A337C41.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#396EC1
Tritanopia (blue-blind)
#A1547A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a337c4;
/* rgb */ color: rgb(163, 55, 196);
/* oklch */ color: oklch(55.4% 0.218 317.0);
Tailwind
colors: {
  custom: {
    50: '#c278d7',
    500: '#a337c4',
    950: '#000000',
  },
}
SCSS
$custom: #a337c4;
$custom-light: #c278d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a337c4",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 285.957,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5535,
    "c": 0.21805,
    "h": 317
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#A337C4
secondary
#9ACC8B
accent
#DF486C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A337C4

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

Preview Lab → · Contrast checker → · Palette generator →

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