#A531C2#A531C2

#A531C2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.224 H 318.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A531C2
RGBrgb(165, 49, 194)
HSLhsl(288, 60%, 48%)
HSVhsv(288, 75%, 76%)
CMYKcmyk(14.9%, 74.7%, 0%, 23.9%)
CIE-LABlab(44.36, 65.84, -52.61)
CIE-LCHlch(44.36, 84.28, 321.37°)
OKLaboklab(54.95% 0.1678 -0.1478)
OKLCHoklch(54.95% 0.224 318.6)
XYZxyz(26.3516, 14.0922, 52.3605)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531C2 #4EC231
analogous
#5C31C2 #A531C2 #C23196
triadic
#A531C2 #C2A531 #31C2A5
tetradic
#A531C2 #C25C31 #4EC231 #3196C2
square
#A531C2 #C25C31 #4EC231 #3196C2
split-complementary
#A531C2 #96C231 #31C25C
monochromatic
#521860 #7B2591 #A531C2 #BD5BD6 #D18CE2

Accessibility & contrast

On white

5.50
#A531C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A531C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531C2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531C2#FFFFFF#000000##FFFFFF
##A531C21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#3A6DBF
Tritanopia (blue-blind)
#A44F78
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a531c2;
/* rgb */ color: rgb(165, 49, 194);
/* oklch */ color: oklch(55.0% 0.224 318.6);
Tailwind
colors: {
  custom: {
    50: '#c475d5',
    500: '#a531c2',
    950: '#000000',
  },
}
SCSS
$custom: #a531c2;
$custom-light: #c475d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a531c2",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 288,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54954,
    "c": 0.22362,
    "h": 318.6
  },
  "luminance": 0.14091
}

Semantic roles & 50–950 ramp

primary
#A531C2
secondary
#91CC83
accent
#E34565
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A531C2

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

Preview Lab → · Contrast checker → · Palette generator →

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