#A531B8#A531B8

#A531B8 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.215 H 321.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A531B8
RGBrgb(165, 49, 184)
HSLhsl(292, 58%, 46%)
HSVhsv(292, 73%, 72%)
CMYKcmyk(10.3%, 73.4%, 0%, 27.8%)
CIE-LABlab(43.74, 64.00, -47.77)
CIE-LCHlch(43.74, 79.86, 323.26°)
OKLaboklab(54.31% 0.1687 -0.1336)
OKLCHoklch(54.31% 0.215 321.6)
XYZxyz(25.2661, 13.6580, 46.6435)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531B8 #44B831
analogous
#6231B8 #A531B8 #B83187
triadic
#A531B8 #B8A531 #31B8A5
tetradic
#A531B8 #B86231 #44B831 #3187B8
square
#A531B8 #B86231 #44B831 #3187B8
split-complementary
#A531B8 #87B831 #31B862
monochromatic
#4E1757 #7A2488 #A531B8 #C055D2 #D285DE

Accessibility & contrast

On white

5.63
#A531B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A531B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531B8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531B8#FFFFFF#000000##FFFFFF
##A531B81.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#436CB5
Tritanopia (blue-blind)
#A74B72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a531b8;
/* rgb */ color: rgb(165, 49, 184);
/* oklch */ color: oklch(54.3% 0.215 321.6);
Tailwind
colors: {
  custom: {
    50: '#c475ce',
    500: '#a531b8',
    950: '#000000',
  },
}
SCSS
$custom: #a531b8;
$custom-light: #c475ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a531b8",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 291.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.21521,
    "h": 321.6
  },
  "luminance": 0.13657
}

Semantic roles & 50–950 ramp

primary
#A531B8
secondary
#87C87D
accent
#E1475C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A531B8

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

Preview Lab → · Contrast checker → · Palette generator →

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