#A337AF#A337AF

#A337AF is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.0% C 0.200 H 323.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A337AF
RGBrgb(163, 55, 175)
HSLhsl(294, 52%, 45%)
HSVhsv(294, 69%, 69%)
CMYKcmyk(6.9%, 68.6%, 0%, 31.4%)
CIE-LABlab(43.68, 59.71, -42.58)
CIE-LCHlch(43.68, 73.34, 324.50°)
OKLaboklab(54.03% 0.1607 -0.1186)
OKLCHoklch(54.03% 0.2 323.6)
XYZxyz(24.2076, 13.6155, 41.9021)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337AF #43AF37
analogous
#6737AF #A337AF #AF377F
triadic
#A337AF #AFA337 #37AFA3
tetradic
#A337AF #AF6737 #43AF37 #377FAF
square
#A337AF #AF6737 #43AF37 #377FAF
split-complementary
#A337AF #7FAF37 #37AF67
monochromatic
#4C1A52 #782880 #A337AF #BF59CB #D187D9

Accessibility & contrast

On white

5.64
#A337AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A337AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337AF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337AF#FFFFFF#000000##FFFFFF
##A337AF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#A64B6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a337af;
/* rgb */ color: rgb(163, 55, 175);
/* oklch */ color: oklch(54.0% 0.200 323.6);
Tailwind
colors: {
  custom: {
    50: '#c277c7',
    500: '#a337af',
    950: '#000000',
  },
}
SCSS
$custom: #a337af;
$custom-light: #c277c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a337af",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 294,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54032,
    "c": 0.19973,
    "h": 323.6
  },
  "luminance": 0.13614
}

Semantic roles & 50–950 ramp

primary
#A337AF
secondary
#85C37F
accent
#DC4C5B
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A337AF

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

Preview Lab → · Contrast checker → · Palette generator →

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