#A531CA#A531CA

#A531CA is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.230 H 316.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A531CA
RGBrgb(165, 49, 202)
HSLhsl(285, 61%, 49%)
HSVhsv(285, 76%, 79%)
CMYKcmyk(18.3%, 75.7%, 0%, 20.8%)
CIE-LABlab(44.89, 67.35, -56.42)
CIE-LCHlch(44.89, 87.86, 320.05°)
OKLaboklab(55.49% 0.1668 -0.159)
OKLCHoklch(55.49% 0.23 316.4)
XYZxyz(27.2744, 14.4613, 57.2203)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531CA #56CA31
analogous
#5931CA #A531CA #CA31A3
triadic
#A531CA #CAA531 #31CAA5
tetradic
#A531CA #CA5931 #56CA31 #31A3CA
square
#A531CA #CA5931 #56CA31 #31A3CA
split-complementary
#A531CA #A3CA31 #31CA59
monochromatic
#551967 #7D2599 #A531CA #BB60D8 #D091E4

Accessibility & contrast

On white

5.40
#A531CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A531CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531CA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531CA#FFFFFF#000000##FFFFFF
##A531CA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#306DC7
Tritanopia (blue-blind)
#A3537C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a531ca;
/* rgb */ color: rgb(165, 49, 202);
/* oklch */ color: oklch(55.5% 0.230 316.4);
Tailwind
colors: {
  custom: {
    50: '#c476db',
    500: '#a531ca',
    950: '#000000',
  },
}
SCSS
$custom: #a531ca;
$custom-light: #c476db;
$custom-dark: #000000;
JSON
{
  "hex": "#a531ca",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 285.49,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5549,
    "c": 0.23041,
    "h": 316.4
  },
  "luminance": 0.1446
}

Semantic roles & 50–950 ramp

primary
#A531CA
secondary
#99CF88
accent
#E4446B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A531CA

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

Preview Lab → · Contrast checker → · Palette generator →

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