#A031B3#A031B3

#A031B3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.209 H 321.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A031B3
RGBrgb(160, 49, 179)
HSLhsl(291, 57%, 45%)
HSVhsv(291, 73%, 70%)
CMYKcmyk(10.6%, 72.6%, 0%, 29.8%)
CIE-LABlab(42.65, 62.04, -46.61)
CIE-LCHlch(42.65, 77.59, 323.08°)
OKLaboklab(53.28% 0.1632 -0.1304)
OKLCHoklch(53.28% 0.209 321.4)
XYZxyz(23.7313, 12.9262, 43.8841)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031B3 #44B331
analogous
#5F31B3 #A031B3 #B33185
triadic
#A031B3 #B3A031 #31B3A0
tetradic
#A031B3 #B35F31 #44B331 #3185B3
square
#A031B3 #B35F31 #44B331 #3185B3
split-complementary
#A031B3 #85B331 #31B35F
monochromatic
#4A1753 #752483 #A031B3 #BD52D0 #CF82DD

Accessibility & contrast

On white

5.86
#A031B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A031B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031B3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031B3#FFFFFF#000000##FFFFFF
##A031B31.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#A14A6F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a031b3;
/* rgb */ color: rgb(160, 49, 179);
/* oklch */ color: oklch(53.3% 0.209 321.4);
Tailwind
colors: {
  custom: {
    50: '#c074ca',
    500: '#a031b3',
    950: '#000000',
  },
}
SCSS
$custom: #a031b3;
$custom-light: #c074ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a031b3",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 291.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.20888,
    "h": 321.4
  },
  "luminance": 0.12925
}

Semantic roles & 50–950 ramp

primary
#A031B3
secondary
#85C67A
accent
#E0485E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A031B3

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

Preview Lab → · Contrast checker → · Palette generator →

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