#A831B6#A831B6

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

Color values

HEX#A831B6
RGBrgb(168, 49, 182)
HSLhsl(294, 58%, 45%)
HSVhsv(294, 73%, 71%)
CMYKcmyk(7.7%, 73.1%, 0%, 28.6%)
CIE-LABlab(44.09, 64.27, -46.01)
CIE-LCHlch(44.09, 79.04, 324.40°)
OKLaboklab(54.61% 0.1722 -0.1284)
OKLCHoklch(54.61% 0.215 323.3)
XYZxyz(25.6895, 13.9004, 45.5768)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A831B6 #3FB631
analogous
#6531B6 #A831B6 #B63182
triadic
#A831B6 #B6A831 #31B6A8
tetradic
#A831B6 #B66531 #3FB631 #3182B6
square
#A831B6 #B66531 #3FB631 #3182B6
split-complementary
#A831B6 #82B631 #31B665
monochromatic
#4F1756 #7B2486 #A831B6 #C453D1 #D484DE

Accessibility & contrast

On white

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

On black

3.78
#A831B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A831B6#FFFFFF#000000##FFFFFF
##A831B61.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#476DB3
Tritanopia (blue-blind)
#AB4971
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a831b6;
/* rgb */ color: rgb(168, 49, 182);
/* oklch */ color: oklch(54.6% 0.215 323.3);
Tailwind
colors: {
  custom: {
    50: '#c675cc',
    500: '#a831b6',
    950: '#000000',
  },
}
SCSS
$custom: #a831b6;
$custom-light: #c675cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a831b6",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 293.684,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54614,
    "c": 0.21483,
    "h": 323.3
  },
  "luminance": 0.13899
}

Semantic roles & 50–950 ramp

primary
#A831B6
secondary
#84C77C
accent
#E14757
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A831B6

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

Preview Lab → · Contrast checker → · Palette generator →

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