#A731B3#A731B3

#A731B3 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.212 H 323.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A731B3
RGBrgb(167, 49, 179)
HSLhsl(294, 57%, 45%)
HSVhsv(294, 73%, 70%)
CMYKcmyk(6.7%, 72.6%, 0%, 29.8%)
CIE-LABlab(43.75, 63.53, -44.79)
CIE-LCHlch(43.75, 77.73, 324.82°)
OKLaboklab(54.29% 0.1713 -0.1248)
OKLCHoklch(54.29% 0.212 323.9)
XYZxyz(25.1706, 13.6683, 43.9516)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731B3 #3DB331
analogous
#6631B3 #A731B3 #B3317E
triadic
#A731B3 #B3A731 #31B3A7
tetradic
#A731B3 #B36631 #3DB331 #317EB3
square
#A731B3 #B36631 #3DB331 #317EB3
split-complementary
#A731B3 #7EB331 #31B366
monochromatic
#4D1753 #7A2483 #A731B3 #C452D0 #D482DD

Accessibility & contrast

On white

5.62
#A731B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A731B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A731B3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731B3#FFFFFF#000000##FFFFFF
##A731B31.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#486CB0
Tritanopia (blue-blind)
#AA486F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a731b3;
/* rgb */ color: rgb(167, 49, 179);
/* oklch */ color: oklch(54.3% 0.212 323.9);
Tailwind
colors: {
  custom: {
    50: '#c575ca',
    500: '#a731b3',
    950: '#000000',
  },
}
SCSS
$custom: #a731b3;
$custom-light: #c575ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a731b3",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 294.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.21194,
    "h": 323.9
  },
  "luminance": 0.13667
}

Semantic roles & 50–950 ramp

primary
#A731B3
secondary
#81C67A
accent
#E04856
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A731B3

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

Preview Lab → · Contrast checker → · Palette generator →

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