#A531BC#A531BC

#A531BC is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.219 H 320.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A531BC
RGBrgb(165, 49, 188)
HSLhsl(290, 59%, 46%)
HSVhsv(290, 74%, 74%)
CMYKcmyk(12.2%, 73.9%, 0%, 26.3%)
CIE-LABlab(43.99, 64.73, -49.72)
CIE-LCHlch(43.99, 81.62, 322.47°)
OKLaboklab(54.56% 0.1684 -0.1393)
OKLCHoklch(54.56% 0.219 320.4)
XYZxyz(25.6914, 13.8281, 48.8830)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531BC #48BC31
analogous
#6031BC #A531BC #BC318E
triadic
#A531BC #BCA531 #31BCA5
tetradic
#A531BC #BC6031 #48BC31 #318EBC
square
#A531BC #BC6031 #48BC31 #318EBC
split-complementary
#A531BC #8EBC31 #31BC60
monochromatic
#50185B #7A248B #A531BC #BF57D3 #D188E0

Accessibility & contrast

On white

5.58
#A531BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A531BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531BC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531BC#FFFFFF#000000##FFFFFF
##A531BC1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#A64D74
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a531bc;
/* rgb */ color: rgb(165, 49, 188);
/* oklch */ color: oklch(54.6% 0.219 320.4);
Tailwind
colors: {
  custom: {
    50: '#c475d1',
    500: '#a531bc',
    950: '#000000',
  },
}
SCSS
$custom: #a531bc;
$custom-light: #c475d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a531bc",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 290.072,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.21855,
    "h": 320.4
  },
  "luminance": 0.13827
}

Semantic roles & 50–950 ramp

primary
#A531BC
secondary
#8CCA7F
accent
#E24660
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A531BC

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

Preview Lab → · Contrast checker → · Palette generator →

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