#A031B9#A031B9

#A031B9 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.214 H 319.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A031B9
RGBrgb(160, 49, 185)
HSLhsl(289, 58%, 46%)
HSVhsv(289, 74%, 73%)
CMYKcmyk(13.5%, 73.5%, 0%, 27.5%)
CIE-LABlab(43.02, 63.15, -49.54)
CIE-LCHlch(43.02, 80.26, 321.88°)
OKLaboklab(53.67% 0.1627 -0.139)
OKLCHoklch(53.67% 0.214 319.5)
XYZxyz(24.3514, 13.1742, 47.1497)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031B9 #4AB931
analogous
#5C31B9 #A031B9 #B9318E
triadic
#A031B9 #B9A031 #31B9A0
tetradic
#A031B9 #B95C31 #4AB931 #318EB9
square
#A031B9 #B95C31 #4AB931 #318EB9
split-complementary
#A031B9 #8EB931 #31B95C
monochromatic
#4C1758 #762489 #A031B9 #BB55D2 #CE86DF

Accessibility & contrast

On white

5.78
#A031B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A031B9
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031B9#FFFFFF#000000##FFFFFF
##A031B91.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#3C69B6
Tritanopia (blue-blind)
#A04C73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a031b9;
/* rgb */ color: rgb(160, 49, 185);
/* oklch */ color: oklch(53.7% 0.214 319.5);
Tailwind
colors: {
  custom: {
    50: '#c074cf',
    500: '#a031b9',
    950: '#000000',
  },
}
SCSS
$custom: #a031b9;
$custom-light: #c074cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a031b9",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 288.971,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53667,
    "c": 0.21399,
    "h": 319.5
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#A031B9
secondary
#8BC87D
accent
#E14663
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A031B9

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

Preview Lab → · Contrast checker → · Palette generator →

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