#A031B2#A031B2

#A031B2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.208 H 321.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A031B2
RGBrgb(160, 49, 178)
HSLhsl(292, 57%, 45%)
HSVhsv(292, 72%, 70%)
CMYKcmyk(10.1%, 72.5%, 0%, 30.2%)
CIE-LABlab(42.59, 61.85, -46.12)
CIE-LCHlch(42.59, 77.15, 323.29°)
OKLaboklab(53.22% 0.1633 -0.1289)
OKLCHoklch(53.22% 0.208 321.7)
XYZxyz(23.6305, 12.8859, 43.3534)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031B2 #43B231
analogous
#6031B2 #A031B2 #B23184
triadic
#A031B2 #B2A031 #31B2A0
tetradic
#A031B2 #B26031 #43B231 #3184B2
square
#A031B2 #B26031 #43B231 #3184B2
split-complementary
#A031B2 #84B231 #31B260
monochromatic
#4A1752 #752482 #A031B2 #BE51CF #D081DC

Accessibility & contrast

On white

5.87
#A031B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A031B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031B2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031B2#FFFFFF#000000##FFFFFF
##A031B21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#A2496F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a031b2;
/* rgb */ color: rgb(160, 49, 178);
/* oklch */ color: oklch(53.2% 0.208 321.7);
Tailwind
colors: {
  custom: {
    50: '#c074ca',
    500: '#a031b2',
    950: '#000000',
  },
}
SCSS
$custom: #a031b2;
$custom-light: #c074ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a031b2",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 291.628,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53219,
    "c": 0.20804,
    "h": 321.7
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#A031B2
secondary
#84C579
accent
#E0485D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A031B2

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

Preview Lab → · Contrast checker → · Palette generator →

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