#A538C5#A538C5

#A538C5 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.219 H 317.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A538C5
RGBrgb(165, 56, 197)
HSLhsl(286, 56%, 50%)
HSVhsv(286, 72%, 77%)
CMYKcmyk(16.2%, 71.6%, 0%, 22.7%)
CIE-LABlab(45.44, 63.88, -52.63)
CIE-LCHlch(45.44, 82.77, 320.52°)
OKLaboklab(55.78% 0.1609 -0.1479)
OKLCHoklch(55.78% 0.219 317.4)
XYZxyz(27.0078, 14.8601, 54.2581)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538C5 #58C538
analogous
#5F38C5 #A538C5 #C5389F
triadic
#A538C5 #C5A538 #38C5A5
tetradic
#A538C5 #C55F38 #58C538 #389FC5
square
#A538C5 #C55F38 #58C538 #389FC5
split-complementary
#A538C5 #9FC538 #38C55F
monochromatic
#551D66 #7D2A95 #A538C5 #BB67D4 #D096E1

Accessibility & contrast

On white

5.29
#A538C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A538C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538C5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538C5#FFFFFF#000000##FFFFFF
##A538C51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#3C6FC2
Tritanopia (blue-blind)
#A4547B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a538c5;
/* rgb */ color: rgb(165, 56, 197);
/* oklch */ color: oklch(55.8% 0.219 317.4);
Tailwind
colors: {
  custom: {
    50: '#c479d7',
    500: '#a538c5',
    950: '#000000',
  },
}
SCSS
$custom: #a538c5;
$custom-light: #c479d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a538c5",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 286.383,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.21856,
    "h": 317.4
  },
  "luminance": 0.14859
}

Semantic roles & 50–950 ramp

primary
#A538C5
secondary
#9BCD8C
accent
#DF496B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A538C5

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

Preview Lab → · Contrast checker → · Palette generator →

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