#A031B8#A031B8

#A031B8 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.213 H 319.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A031B8
RGBrgb(160, 49, 184)
HSLhsl(289, 58%, 46%)
HSVhsv(289, 73%, 72%)
CMYKcmyk(13%, 73.4%, 0%, 27.8%)
CIE-LABlab(42.96, 62.96, -49.06)
CIE-LCHlch(42.96, 79.82, 322.08°)
OKLaboklab(53.6% 0.1628 -0.1375)
OKLCHoklch(53.6% 0.213 319.8)
XYZxyz(24.2462, 13.1321, 46.5957)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031B8 #49B831
analogous
#5C31B8 #A031B8 #B8318C
triadic
#A031B8 #B8A031 #31B8A0
tetradic
#A031B8 #B85C31 #49B831 #318CB8
square
#A031B8 #B85C31 #49B831 #318CB8
split-complementary
#A031B8 #8CB831 #31B85C
monochromatic
#4C1757 #762488 #A031B8 #BB55D2 #CF85DE

Accessibility & contrast

On white

5.79
#A031B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A031B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031B8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031B8#FFFFFF#000000##FFFFFF
##A031B81.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#3D69B5
Tritanopia (blue-blind)
#A04C72
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a031b8;
/* rgb */ color: rgb(160, 49, 184);
/* oklch */ color: oklch(53.6% 0.213 319.8);
Tailwind
colors: {
  custom: {
    50: '#c074ce',
    500: '#a031b8',
    950: '#000000',
  },
}
SCSS
$custom: #a031b8;
$custom-light: #c074ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a031b8",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 289.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53602,
    "c": 0.21314,
    "h": 319.8
  },
  "luminance": 0.13131
}

Semantic roles & 50–950 ramp

primary
#A031B8
secondary
#8AC87D
accent
#E14762
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A031B8

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

Preview Lab → · Contrast checker → · Palette generator →

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