#A031C1#A031C1

#A031C1 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.221 H 317.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A031C1
RGBrgb(160, 49, 193)
HSLhsl(286, 60%, 47%)
HSVhsv(286, 75%, 76%)
CMYKcmyk(17.1%, 74.6%, 0%, 24.3%)
CIE-LABlab(43.54, 64.66, -53.40)
CIE-LCHlch(43.54, 83.86, 320.45°)
OKLaboklab(54.2% 0.1619 -0.1503)
OKLCHoklch(54.2% 0.221 317.1)
XYZxyz(25.2197, 13.5215, 51.7232)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031C1 #52C131
analogous
#5831C1 #A031C1 #C1319A
triadic
#A031C1 #C1A031 #31C1A0
tetradic
#A031C1 #C15831 #52C131 #319AC1
square
#A031C1 #C15831 #52C131 #319AC1
split-complementary
#A031C1 #9AC131 #31C158
monochromatic
#4F185F #782590 #A031C1 #B95AD5 #CE8BE2

Accessibility & contrast

On white

5.67
#A031C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A031C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031C1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031C1#FFFFFF#000000##FFFFFF
##A031C11.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#346ABE
Tritanopia (blue-blind)
#9E5077
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a031c1;
/* rgb */ color: rgb(160, 49, 193);
/* oklch */ color: oklch(54.2% 0.221 317.1);
Tailwind
colors: {
  custom: {
    50: '#c075d4',
    500: '#a031c1',
    950: '#000000',
  },
}
SCSS
$custom: #a031c1;
$custom-light: #c075d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a031c1",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 286.25,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54196,
    "c": 0.22088,
    "h": 317.1
  },
  "luminance": 0.1352
}

Semantic roles & 50–950 ramp

primary
#A031C1
secondary
#93CC82
accent
#E34569
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A031C1

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

Preview Lab → · Contrast checker → · Palette generator →

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