#A531B2#A531B2

#A531B2 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.210 H 323.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A531B2
RGBrgb(165, 49, 178)
HSLhsl(294, 57%, 45%)
HSVhsv(294, 72%, 70%)
CMYKcmyk(7.3%, 72.5%, 0%, 30.2%)
CIE-LABlab(43.38, 62.92, -44.81)
CIE-LCHlch(43.38, 77.25, 324.54°)
OKLaboklab(53.94% 0.169 -0.125)
OKLCHoklch(53.94% 0.21 323.5)
XYZxyz(24.6505, 13.4118, 43.4012)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531B2 #3EB231
analogous
#6431B2 #A531B2 #B2317F
triadic
#A531B2 #B2A531 #31B2A5
tetradic
#A531B2 #B26431 #3EB231 #317FB2
square
#A531B2 #B26431 #3EB231 #317FB2
split-complementary
#A531B2 #7FB231 #31B264
monochromatic
#4C1752 #792482 #A531B2 #C251CF #D381DC

Accessibility & contrast

On white

5.70
#A531B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A531B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531B2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531B2#FFFFFF#000000##FFFFFF
##A531B21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#476BAF
Tritanopia (blue-blind)
#A8486F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a531b2;
/* rgb */ color: rgb(165, 49, 178);
/* oklch */ color: oklch(53.9% 0.210 323.5);
Tailwind
colors: {
  custom: {
    50: '#c375c9',
    500: '#a531b2',
    950: '#000000',
  },
}
SCSS
$custom: #a531b2;
$custom-light: #c375c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a531b2",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 293.953,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.21022,
    "h": 323.5
  },
  "luminance": 0.1341
}

Semantic roles & 50–950 ramp

primary
#A531B2
secondary
#81C579
accent
#E04857
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A531B2

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

Preview Lab → · Contrast checker → · Palette generator →

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