#A731B8#A731B8

#A731B8 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.216 H 322.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A731B8
RGBrgb(167, 49, 184)
HSLhsl(292, 58%, 46%)
HSVhsv(292, 73%, 72%)
CMYKcmyk(9.2%, 73.4%, 0%, 27.8%)
CIE-LABlab(44.05, 64.42, -47.25)
CIE-LCHlch(44.05, 79.89, 323.74°)
OKLaboklab(54.59% 0.171 -0.132)
OKLCHoklch(54.59% 0.216 322.3)
XYZxyz(25.6855, 13.8743, 46.6632)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A731B8 #42B831
analogous
#6331B8 #A731B8 #B83186
triadic
#A731B8 #B8A731 #31B8A7
tetradic
#A731B8 #B86331 #42B831 #3186B8
square
#A731B8 #B86331 #42B831 #3186B8
split-complementary
#A731B8 #86B831 #31B863
monochromatic
#4F1757 #7B2488 #A731B8 #C255D2 #D385DE

Accessibility & contrast

On white

5.56
#A731B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A731B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A731B8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A731B8#FFFFFF#000000##FFFFFF
##A731B81.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#456DB5
Tritanopia (blue-blind)
#A94A72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a731b8;
/* rgb */ color: rgb(167, 49, 184);
/* oklch */ color: oklch(54.6% 0.216 322.3);
Tailwind
colors: {
  custom: {
    50: '#c575ce',
    500: '#a731b8',
    950: '#000000',
  },
}
SCSS
$custom: #a731b8;
$custom-light: #c575ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a731b8",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 292.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54594,
    "c": 0.21605,
    "h": 322.3
  },
  "luminance": 0.13873
}

Semantic roles & 50–950 ramp

primary
#A731B8
secondary
#86C87D
accent
#E1475A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A731B8

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

Preview Lab → · Contrast checker → · Palette generator →

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