#A831BB#A831BB

#A831BB is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.219 H 321.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A831BB
RGBrgb(168, 49, 187)
HSLhsl(292, 58%, 46%)
HSVhsv(292, 74%, 73%)
CMYKcmyk(10.2%, 73.8%, 0%, 26.7%)
CIE-LABlab(44.39, 65.16, -48.46)
CIE-LCHlch(44.39, 81.20, 323.36°)
OKLaboklab(54.93% 0.172 -0.1355)
OKLCHoklch(54.93% 0.219 321.8)
XYZxyz(26.2154, 14.1108, 48.3469)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A831BB #44BB31
analogous
#6331BB #A831BB #BB3189
triadic
#A831BB #BBA831 #31BBA8
tetradic
#A831BB #BB6331 #44BB31 #3189BB
square
#A831BB #BB6331 #44BB31 #3189BB
split-complementary
#A831BB #89BB31 #31BB63
monochromatic
#51185A #7C248B #A831BB #C256D3 #D387E0

Accessibility & contrast

On white

5.49
#A831BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A831BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A831BB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A831BB#FFFFFF#000000##FFFFFF
##A831BB1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#446DB8
Tritanopia (blue-blind)
#AA4B74
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a831bb;
/* rgb */ color: rgb(168, 49, 187);
/* oklch */ color: oklch(54.9% 0.219 321.8);
Tailwind
colors: {
  custom: {
    50: '#c675d0',
    500: '#a831bb',
    950: '#000000',
  },
}
SCSS
$custom: #a831bb;
$custom-light: #c675d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a831bb",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 291.739,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54925,
    "c": 0.21895,
    "h": 321.8
  },
  "luminance": 0.14109
}

Semantic roles & 50–950 ramp

primary
#A831BB
secondary
#89C97F
accent
#E2465C
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A831BB

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

Preview Lab → · Contrast checker → · Palette generator →

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