#A531C8#A531C8

#A531C8 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.229 H 316.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A531C8
RGBrgb(165, 49, 200)
HSLhsl(286, 61%, 49%)
HSVhsv(286, 76%, 78%)
CMYKcmyk(17.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(44.76, 66.97, -55.47)
CIE-LCHlch(44.76, 86.96, 320.36°)
OKLaboklab(55.36% 0.1671 -0.1562)
OKLCHoklch(55.36% 0.229 316.9)
XYZxyz(27.0391, 14.3672, 55.9812)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531C8 #54C831
analogous
#5A31C8 #A531C8 #C831A0
triadic
#A531C8 #C8A531 #31C8A5
tetradic
#A531C8 #C85A31 #54C831 #31A0C8
square
#A531C8 #C85A31 #54C831 #31A0C8
split-complementary
#A531C8 #A0C831 #31C85A
monochromatic
#541966 #7C2597 #A531C8 #BC5FD8 #D090E4

Accessibility & contrast

On white

5.42
#A531C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A531C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531C8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531C8#FFFFFF#000000##FFFFFF
##A531C81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#336DC5
Tritanopia (blue-blind)
#A3527B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a531c8;
/* rgb */ color: rgb(165, 49, 200);
/* oklch */ color: oklch(55.4% 0.229 316.9);
Tailwind
colors: {
  custom: {
    50: '#c476d9',
    500: '#a531c8',
    950: '#000000',
  },
}
SCSS
$custom: #a531c8;
$custom-light: #c476d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a531c8",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 286.093,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.22871,
    "h": 316.9
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#A531C8
secondary
#97CE86
accent
#E44469
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A531C8

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

Preview Lab → · Contrast checker → · Palette generator →

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