#A031C6#A031C6

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

Color values

HEX#A031C6
RGBrgb(160, 49, 198)
HSLhsl(285, 60%, 48%)
HSVhsv(285, 75%, 78%)
CMYKcmyk(19.2%, 75.3%, 0%, 22.4%)
CIE-LABlab(43.87, 65.63, -55.78)
CIE-LCHlch(43.87, 86.13, 319.64°)
OKLaboklab(54.54% 0.1612 -0.1572)
OKLCHoklch(54.54% 0.225 315.7)
XYZxyz(25.7869, 13.7484, 54.7105)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031C6 #57C631
analogous
#5531C6 #A031C6 #C631A1
triadic
#A031C6 #C6A031 #31C6A0
tetradic
#A031C6 #C65531 #57C631 #31A1C6
square
#A031C6 #C65531 #57C631 #31A1C6
split-complementary
#A031C6 #A1C631 #31C655
monochromatic
#511964 #782595 #A031C6 #B85DD7 #CD8EE3

Accessibility & contrast

On white

5.60
#A031C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A031C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031C6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031C6#FFFFFF#000000##FFFFFF
##A031C61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#2E6BC3
Tritanopia (blue-blind)
#9D527A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a031c6;
/* rgb */ color: rgb(160, 49, 198);
/* oklch */ color: oklch(54.5% 0.225 315.7);
Tailwind
colors: {
  custom: {
    50: '#c175d8',
    500: '#a031c6',
    950: '#000000',
  },
}
SCSS
$custom: #a031c6;
$custom-light: #c175d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a031c6",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 284.698,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.22522,
    "h": 315.7
  },
  "luminance": 0.13747
}

Semantic roles & 50–950 ramp

primary
#A031C6
secondary
#98CE85
accent
#E3446D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130915
muted
#827B83

Preview Lab

Preview with #A031C6

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

Preview Lab → · Contrast checker → · Palette generator →

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