#A538AA#A538AA

#A538AA is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.1% C 0.195 H 326.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A538AA
RGBrgb(165, 56, 170)
HSLhsl(297, 50%, 44%)
HSVhsv(297, 67%, 67%)
CMYKcmyk(2.9%, 67.1%, 0%, 33.3%)
CIE-LABlab(43.85, 58.89, -39.34)
CIE-LCHlch(43.85, 70.82, 326.26°)
OKLaboklab(54.12% 0.1619 -0.1091)
OKLCHoklch(54.12% 0.195 326)
XYZxyz(24.1864, 13.7315, 39.3989)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538AA #3DAA38
analogous
#6C38AA #A538AA #AA3876
triadic
#A538AA #AAA538 #38AAA5
tetradic
#A538AA #AA6C38 #3DAA38 #3876AA
square
#A538AA #AA6C38 #3DAA38 #3876AA
split-complementary
#A538AA #76AA38 #38AA6C
monochromatic
#4C1A4E #78297C #A538AA #C357C8 #D385D7

Accessibility & contrast

On white

5.61
#A538AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A538AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538AA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538AA#FFFFFF#000000##FFFFFF
##A538AA1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#506CA7
Tritanopia (blue-blind)
#A9496C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a538aa;
/* rgb */ color: rgb(165, 56, 170);
/* oklch */ color: oklch(54.1% 0.195 326.0);
Tailwind
colors: {
  custom: {
    50: '#c378c4',
    500: '#a538aa',
    950: '#000000',
  },
}
SCSS
$custom: #a538aa;
$custom-light: #c378c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a538aa",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 297.368,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.19521,
    "h": 326
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#A538AA
secondary
#80C17D
accent
#DA4E54
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A538AA

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

Preview Lab → · Contrast checker → · Palette generator →

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