#A631BA#A631BA

#A631BA is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.217 H 321.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A631BA
RGBrgb(166, 49, 186)
HSLhsl(291, 58%, 46%)
HSVhsv(291, 74%, 73%)
CMYKcmyk(10.8%, 73.7%, 0%, 27.1%)
CIE-LABlab(44.02, 64.57, -48.49)
CIE-LCHlch(44.02, 80.75, 323.09°)
OKLaboklab(54.58% 0.1697 -0.1357)
OKLCHoklch(54.58% 0.217 321.4)
XYZxyz(25.6861, 13.8502, 47.7652)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A631BA #45BA31
analogous
#6131BA #A631BA #BA3189
triadic
#A631BA #BAA631 #31BAA6
tetradic
#A631BA #BA6131 #45BA31 #3189BA
square
#A631BA #BA6131 #45BA31 #3189BA
split-complementary
#A631BA #89BA31 #31BA61
monochromatic
#501759 #7B248A #A631BA #C056D2 #D286DF

Accessibility & contrast

On white

5.57
#A631BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A631BA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A631BA#FFFFFF#000000##FFFFFF
##A631BA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#426CB7
Tritanopia (blue-blind)
#A74B73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a631ba;
/* rgb */ color: rgb(166, 49, 186);
/* oklch */ color: oklch(54.6% 0.217 321.4);
Tailwind
colors: {
  custom: {
    50: '#c475cf',
    500: '#a631ba',
    950: '#000000',
  },
}
SCSS
$custom: #a631ba;
$custom-light: #c475cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a631ba",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 291.241,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54578,
    "c": 0.21729,
    "h": 321.4
  },
  "luminance": 0.13849
}

Semantic roles & 50–950 ramp

primary
#A631BA
secondary
#89C97E
accent
#E2465D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A631BA

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

Preview Lab → · Contrast checker → · Palette generator →

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