#A337B4#A337B4

#A337B4 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.204 H 321.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A337B4
RGBrgb(163, 55, 180)
HSLhsl(292, 53%, 46%)
HSVhsv(292, 69%, 71%)
CMYKcmyk(9.4%, 69.4%, 0%, 29.4%)
CIE-LABlab(43.97, 60.63, -45.07)
CIE-LCHlch(43.97, 75.54, 323.37°)
OKLaboklab(54.33% 0.1606 -0.1258)
OKLCHoklch(54.33% 0.204 321.9)
XYZxyz(24.7078, 13.8155, 44.5364)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337B4 #48B437
analogous
#6437B4 #A337B4 #B43786
triadic
#A337B4 #B4A337 #37B4A3
tetradic
#A337B4 #B46437 #48B437 #3786B4
square
#A337B4 #B46437 #48B437 #3786B4
split-complementary
#A337B4 #86B437 #37B464
monochromatic
#4E1A56 #792985 #A337B4 #BD5BCD #D08ADB

Accessibility & contrast

On white

5.58
#A337B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A337B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337B4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337B4#FFFFFF#000000##FFFFFF
##A337B41.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0860B8
Deuteranopia (green-blind)
#476CB1
Tritanopia (blue-blind)
#A54D72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a337b4;
/* rgb */ color: rgb(163, 55, 180);
/* oklch */ color: oklch(54.3% 0.204 321.9);
Tailwind
colors: {
  custom: {
    50: '#c277cb',
    500: '#a337b4',
    950: '#000000',
  },
}
SCSS
$custom: #a337b4;
$custom-light: #c277cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a337b4",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 291.84,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54334,
    "c": 0.20404,
    "h": 321.9
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#A337B4
secondary
#8BC681
accent
#DD4B5F
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A337B4

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

Preview Lab → · Contrast checker → · Palette generator →

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