#A031C5#A031C5

#A031C5 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.224 H 316.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A031C5
RGBrgb(160, 49, 197)
HSLhsl(285, 60%, 48%)
HSVhsv(285, 75%, 77%)
CMYKcmyk(18.8%, 75.1%, 0%, 22.7%)
CIE-LABlab(43.80, 65.43, -55.30)
CIE-LCHlch(43.80, 85.67, 319.80°)
OKLaboklab(54.47% 0.1614 -0.1558)
OKLCHoklch(54.47% 0.224 316)
XYZxyz(25.6720, 13.7024, 54.1050)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031C5 #56C531
analogous
#5631C5 #A031C5 #C531A0
triadic
#A031C5 #C5A031 #31C5A0
tetradic
#A031C5 #C55631 #56C531 #31A0C5
square
#A031C5 #C55631 #56C531 #31A0C5
split-complementary
#A031C5 #A0C531 #31C556
monochromatic
#501963 #782594 #A031C5 #B85DD7 #CD8EE3

Accessibility & contrast

On white

5.61
#A031C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A031C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031C5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031C5#FFFFFF#000000##FFFFFF
##A031C51.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#2F6BC2
Tritanopia (blue-blind)
#9D5279
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a031c5;
/* rgb */ color: rgb(160, 49, 197);
/* oklch */ color: oklch(54.5% 0.224 316.0);
Tailwind
colors: {
  custom: {
    50: '#c075d7',
    500: '#a031c5',
    950: '#000000',
  },
}
SCSS
$custom: #a031c5;
$custom-light: #c075d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a031c5",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 285,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54467,
    "c": 0.22435,
    "h": 316
  },
  "luminance": 0.13701
}

Semantic roles & 50–950 ramp

primary
#A031C5
secondary
#97CD85
accent
#E3446C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A031C5

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

Preview Lab → · Contrast checker → · Palette generator →

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