#A831B8#A831B8

#A831B8 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.216 H 322.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A831B8
RGBrgb(168, 49, 184)
HSLhsl(293, 58%, 46%)
HSVhsv(293, 73%, 72%)
CMYKcmyk(8.7%, 73.4%, 0%, 27.8%)
CIE-LABlab(44.21, 64.62, -46.99)
CIE-LCHlch(44.21, 79.90, 323.98°)
OKLaboklab(54.74% 0.1721 -0.1313)
OKLCHoklch(54.74% 0.216 322.7)
XYZxyz(25.8976, 13.9837, 46.6731)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A831B8 #41B831
analogous
#6431B8 #A831B8 #B83184
triadic
#A831B8 #B8A831 #31B8A8
tetradic
#A831B8 #B86431 #41B831 #3184B8
square
#A831B8 #B86431 #41B831 #3184B8
split-complementary
#A831B8 #84B831 #31B864
monochromatic
#501757 #7C2488 #A831B8 #C355D2 #D485DE

Accessibility & contrast

On white

5.53
#A831B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#A831B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A831B8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A831B8#FFFFFF#000000##FFFFFF
##A831B81.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a831b8;
/* rgb */ color: rgb(168, 49, 184);
/* oklch */ color: oklch(54.7% 0.216 322.7);
Tailwind
colors: {
  custom: {
    50: '#c675ce',
    500: '#a831b8',
    950: '#000000',
  },
}
SCSS
$custom: #a831b8;
$custom-light: #c675ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a831b8",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 292.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54737,
    "c": 0.21647,
    "h": 322.7
  },
  "luminance": 0.13982
}

Semantic roles & 50–950 ramp

primary
#A831B8
secondary
#86C87D
accent
#E14759
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A831B8

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

Preview Lab → · Contrast checker → · Palette generator →

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