#A337A8#A337A8

#A337A8 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.6% C 0.194 H 326.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A337A8
RGBrgb(163, 55, 168)
HSLhsl(297, 51%, 44%)
HSVhsv(297, 67%, 66%)
CMYKcmyk(3%, 67.3%, 0%, 34.1%)
CIE-LABlab(43.28, 58.46, -39.06)
CIE-LCHlch(43.28, 70.31, 326.25°)
OKLaboklab(53.62% 0.1607 -0.1083)
OKLCHoklch(53.62% 0.194 326)
XYZxyz(23.5379, 13.3476, 38.3748)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337A8 #3CA837
analogous
#6A37A8 #A337A8 #A83774
triadic
#A337A8 #A8A337 #37A8A3
tetradic
#A337A8 #A86A37 #3CA837 #3774A8
square
#A337A8 #A86A37 #3CA837 #3774A8
split-complementary
#A337A8 #74A837 #37A86A
monochromatic
#4A194C #76287A #A337A8 #C255C7 #D383D6

Accessibility & contrast

On white

5.72
#A337A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A337A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337A8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337A8#FFFFFF#000000##FFFFFF
##A337A81.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225EAB
Deuteranopia (green-blind)
#4F6BA5
Tritanopia (blue-blind)
#A7486B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a337a8;
/* rgb */ color: rgb(163, 55, 168);
/* oklch */ color: oklch(53.6% 0.194 326.0);
Tailwind
colors: {
  custom: {
    50: '#c277c2',
    500: '#a337a8',
    950: '#000000',
  },
}
SCSS
$custom: #a337a8;
$custom-light: #c277c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a337a8",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 297.345,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53621,
    "c": 0.19378,
    "h": 326
  },
  "luminance": 0.13346
}

Semantic roles & 50–950 ramp

primary
#A337A8
secondary
#7EC07B
accent
#DA4E54
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A337A8

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

Preview Lab → · Contrast checker → · Palette generator →

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