#A531BE#A531BE

#A531BE is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.220 H 319.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A531BE
RGBrgb(165, 49, 190)
HSLhsl(289, 59%, 47%)
HSVhsv(289, 74%, 75%)
CMYKcmyk(13.2%, 74.2%, 0%, 25.5%)
CIE-LABlab(44.11, 65.10, -50.69)
CIE-LCHlch(44.11, 82.50, 322.09°)
OKLaboklab(54.69% 0.1682 -0.1422)
OKLCHoklch(54.69% 0.22 319.8)
XYZxyz(25.9085, 13.9150, 50.0264)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531BE #4ABE31
analogous
#5F31BE #A531BE #BE3191
triadic
#A531BE #BEA531 #31BEA5
tetradic
#A531BE #BE5F31 #4ABE31 #3191BE
square
#A531BE #BE5F31 #4ABE31 #3191BE
split-complementary
#A531BE #91BE31 #31BE5F
monochromatic
#50185D #7B248D #A531BE #BE58D4 #D189E1

Accessibility & contrast

On white

5.55
#A531BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A531BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531BE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531BE#FFFFFF#000000##FFFFFF
##A531BE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#3D6CBB
Tritanopia (blue-blind)
#A54D75
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a531be;
/* rgb */ color: rgb(165, 49, 190);
/* oklch */ color: oklch(54.7% 0.220 319.8);
Tailwind
colors: {
  custom: {
    50: '#c475d2',
    500: '#a531be',
    950: '#000000',
  },
}
SCSS
$custom: #a531be;
$custom-light: #c475d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a531be",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 289.362,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54693,
    "c": 0.22024,
    "h": 319.8
  },
  "luminance": 0.13914
}

Semantic roles & 50–950 ramp

primary
#A531BE
secondary
#8ECA80
accent
#E24661
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A531BE

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

Preview Lab → · Contrast checker → · Palette generator →

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