#A731B6#A731B6

#A731B6 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.214 H 322.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A731B6
RGBrgb(167, 49, 182)
HSLhsl(293, 58%, 45%)
HSVhsv(293, 73%, 71%)
CMYKcmyk(8.2%, 73.1%, 0%, 28.6%)
CIE-LABlab(43.93, 64.06, -46.27)
CIE-LCHlch(43.93, 79.02, 324.16°)
OKLaboklab(54.47% 0.1711 -0.1292)
OKLCHoklch(54.47% 0.214 322.9)
XYZxyz(25.4773, 13.7910, 45.5669)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731B6 #40B631
analogous
#6431B6 #A731B6 #B63182
triadic
#A731B6 #B6A731 #31B6A7
tetradic
#A731B6 #B66431 #40B631 #3182B6
square
#A731B6 #B66431 #40B631 #3182B6
split-complementary
#A731B6 #82B631 #31B664
monochromatic
#4F1756 #7B2486 #A731B6 #C353D1 #D484DE

Accessibility & contrast

On white

5.59
#A731B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A731B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A731B6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731B6#FFFFFF#000000##FFFFFF
##A731B61.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#466CB3
Tritanopia (blue-blind)
#A94971
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a731b6;
/* rgb */ color: rgb(167, 49, 182);
/* oklch */ color: oklch(54.5% 0.214 322.9);
Tailwind
colors: {
  custom: {
    50: '#c575cc',
    500: '#a731b6',
    950: '#000000',
  },
}
SCSS
$custom: #a731b6;
$custom-light: #c575cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a731b6",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 293.233,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5447,
    "c": 0.2144,
    "h": 322.9
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

primary
#A731B6
secondary
#84C77C
accent
#E14758
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A731B6

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

Preview Lab → · Contrast checker → · Palette generator →

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