#A538A5#A538A5

#A538A5 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.191 H 327.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A538A5
RGBrgb(165, 56, 165)
HSLhsl(300, 49%, 43%)
HSVhsv(300, 66%, 65%)
CMYKcmyk(0%, 66.1%, 0%, 35.3%)
CIE-LABlab(43.57, 58.02, -36.79)
CIE-LCHlch(43.57, 68.70, 327.62°)
OKLaboklab(53.84% 0.1617 -0.1017)
OKLCHoklch(53.84% 0.191 327.8)
XYZxyz(23.7224, 13.5459, 36.9552)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538A5 #38A538
analogous
#6E38A5 #A538A5 #A5386E
triadic
#A538A5 #A5A538 #38A5A5
tetradic
#A538A5 #A56E38 #38A538 #386EA5
square
#A538A5 #A56E38 #38A538 #386EA5
split-complementary
#A538A5 #6EA538 #38A56E
monochromatic
#4A194A #772877 #A538A5 #C555C5 #D583D5

Accessibility & contrast

On white

5.66
#A538A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A538A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538A5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538A5#FFFFFF#000000##FFFFFF
##A538A51.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#536CA2
Tritanopia (blue-blind)
#AA476A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a538a5;
/* rgb */ color: rgb(165, 56, 165);
/* oklch */ color: oklch(53.8% 0.191 327.8);
Tailwind
colors: {
  custom: {
    50: '#c377c0',
    500: '#a538a5',
    950: '#000000',
  },
}
SCSS
$custom: #a538a5;
$custom-light: #c377c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a538a5",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 165
  },
  "hsl": {
    "h": 300,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53841,
    "c": 0.19104,
    "h": 327.8
  },
  "luminance": 0.13544
}

Semantic roles & 50–950 ramp

primary
#A538A5
secondary
#7ABE7A
accent
#D94F4F
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A538A5

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

Preview Lab → · Contrast checker → · Palette generator →

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