#A538B8#A538B8

#A538B8 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.207 H 321.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A538B8
RGBrgb(165, 56, 184)
HSLhsl(291, 53%, 47%)
HSVhsv(291, 70%, 72%)
CMYKcmyk(10.3%, 69.6%, 0%, 27.8%)
CIE-LABlab(44.65, 61.42, -46.32)
CIE-LCHlch(44.65, 76.93, 322.98°)
OKLaboklab(54.96% 0.1618 -0.1294)
OKLCHoklch(54.96% 0.207 321.3)
XYZxyz(25.5820, 14.2897, 46.7488)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538B8 #4BB838
analogous
#6538B8 #A538B8 #B8388B
triadic
#A538B8 #B8A538 #38B8A5
tetradic
#A538B8 #B86538 #4BB838 #388BB8
square
#A538B8 #B86538 #4BB838 #388BB8
split-complementary
#A538B8 #8BB838 #38B865
monochromatic
#511B5A #7B2A89 #A538B8 #BE5FCE #D18EDD

Accessibility & contrast

On white

5.44
#A538B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#A538B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538B8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538B8#FFFFFF#000000##FFFFFF
##A538B81.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0262BC
Deuteranopia (green-blind)
#476EB5
Tritanopia (blue-blind)
#A64F74
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a538b8;
/* rgb */ color: rgb(165, 56, 184);
/* oklch */ color: oklch(55.0% 0.207 321.3);
Tailwind
colors: {
  custom: {
    50: '#c378ce',
    500: '#a538b8',
    950: '#000000',
  },
}
SCSS
$custom: #a538b8;
$custom-light: #c378ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a538b8",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 291.094,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54957,
    "c": 0.20717,
    "h": 321.3
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#A538B8
secondary
#8FC785
accent
#DD4B61
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A538B8

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

Preview Lab → · Contrast checker → · Palette generator →

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