#A337D1#A337D1

#A337D1 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.230 H 313.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A337D1
RGBrgb(163, 55, 209)
HSLhsl(282, 63%, 52%)
HSVhsv(282, 74%, 82%)
CMYKcmyk(22%, 73.7%, 0%, 18%)
CIE-LABlab(45.80, 66.21, -59.00)
CIE-LCHlch(45.80, 88.68, 318.30°)
OKLaboklab(56.23% 0.158 -0.1666)
OKLCHoklch(56.23% 0.23 313.5)
XYZxyz(27.9771, 15.1232, 61.7546)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337D1 #65D137
analogous
#5637D1 #A337D1 #D137B2
triadic
#A337D1 #D1A337 #37D1A3
tetradic
#A337D1 #D15637 #65D137 #37B2D1
square
#A337D1 #D15637 #65D137 #37B2D1
split-complementary
#A337D1 #B2D137 #37D156
monochromatic
#591A73 #7F26A5 #A337D1 #BA69DC #D19BE8

Accessibility & contrast

On white

5.22
#A337D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A337D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337D1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337D1#FFFFFF#000000##FFFFFF
##A337D11.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#296FCE
Tritanopia (blue-blind)
#9E5982
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a337d1;
/* rgb */ color: rgb(163, 55, 209);
/* oklch */ color: oklch(56.2% 0.230 313.5);
Tailwind
colors: {
  custom: {
    50: '#c378e0',
    500: '#a337d1',
    950: '#000000',
  },
}
SCSS
$custom: #a337d1;
$custom-light: #c378e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a337d1",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 209
  },
  "hsl": {
    "h": 282.078,
    "s": 62.602,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56227,
    "c": 0.22964,
    "h": 313.5
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#A337D1
secondary
#A4D490
accent
#E64273
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A337D1

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

Preview Lab → · Contrast checker → · Palette generator →

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