#A538BA#A538BA

#A538BA is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.209 H 320.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A538BA
RGBrgb(165, 56, 186)
HSLhsl(290, 54%, 47%)
HSVhsv(290, 70%, 73%)
CMYKcmyk(11.3%, 69.9%, 0%, 27.1%)
CIE-LABlab(44.76, 61.79, -47.30)
CIE-LCHlch(44.76, 77.82, 322.57°)
OKLaboklab(55.08% 0.1617 -0.1323)
OKLCHoklch(55.08% 0.209 320.7)
XYZxyz(25.7931, 14.3742, 47.8607)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538BA #4DBA38
analogous
#6438BA #A538BA #BA388E
triadic
#A538BA #BAA538 #38BAA5
tetradic
#A538BA #BA6438 #4DBA38 #388EBA
square
#A538BA #BA6438 #4DBA38 #388EBA
split-complementary
#A538BA #8EBA38 #38BA64
monochromatic
#521C5C #7B2A8B #A538BA #BD60CF #D18FDD

Accessibility & contrast

On white

5.42
#A538BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A538BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538BA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538BA#FFFFFF#000000##FFFFFF
##A538BA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#456EB7
Tritanopia (blue-blind)
#A65075
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a538ba;
/* rgb */ color: rgb(165, 56, 186);
/* oklch */ color: oklch(55.1% 0.209 320.7);
Tailwind
colors: {
  custom: {
    50: '#c378cf',
    500: '#a538ba',
    950: '#000000',
  },
}
SCSS
$custom: #a538ba;
$custom-light: #c378cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a538ba",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 290.308,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55081,
    "c": 0.20891,
    "h": 320.7
  },
  "luminance": 0.14373
}

Semantic roles & 50–950 ramp

primary
#A538BA
secondary
#90C886
accent
#DD4B62
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A538BA

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

Preview Lab → · Contrast checker → · Palette generator →

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