#A337A6#A337A6

#A337A6 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.192 H 326.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A337A6
RGBrgb(163, 55, 166)
HSLhsl(298, 50%, 43%)
HSVhsv(298, 67%, 65%)
CMYKcmyk(1.8%, 66.9%, 0%, 34.9%)
CIE-LABlab(43.17, 58.11, -38.05)
CIE-LCHlch(43.17, 69.46, 326.79°)
OKLaboklab(53.51% 0.1606 -0.1054)
OKLCHoklch(53.51% 0.192 326.7)
XYZxyz(23.3530, 13.2736, 37.4010)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337A6 #3AA637
analogous
#6B37A6 #A337A6 #A63771
triadic
#A337A6 #A6A337 #37A6A3
tetradic
#A337A6 #A66B37 #3AA637 #3771A6
square
#A337A6 #A66B37 #3AA637 #3771A6
split-complementary
#A337A6 #71A637 #37A66B
monochromatic
#49194A #762878 #A337A6 #C354C6 #D382D6

Accessibility & contrast

On white

5.75
#A337A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A337A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337A6
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337A6#FFFFFF#000000##FFFFFF
##A337A61.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245DA9
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#A7476A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a337a6;
/* rgb */ color: rgb(163, 55, 166);
/* oklch */ color: oklch(53.5% 0.192 326.7);
Tailwind
colors: {
  custom: {
    50: '#c177c1',
    500: '#a337a6',
    950: '#000000',
  },
}
SCSS
$custom: #a337a6;
$custom-light: #c177c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a337a6",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 298.378,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53506,
    "c": 0.19211,
    "h": 326.7
  },
  "luminance": 0.13272
}

Semantic roles & 50–950 ramp

primary
#A337A6
secondary
#7CBF7A
accent
#DA4E52
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A337A6

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

Preview Lab → · Contrast checker → · Palette generator →

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