#A631A4#A631A4

#A631A4 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.3% C 0.199 H 328.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A631A4
RGBrgb(166, 49, 164)
HSLhsl(301, 54%, 42%)
HSVhsv(301, 70%, 65%)
CMYKcmyk(0%, 70.5%, 1.2%, 34.9%)
CIE-LABlab(42.74, 60.73, -37.51)
CIE-LCHlch(42.74, 71.38, 328.30°)
OKLaboklab(53.26% 0.1703 -0.1037)
OKLCHoklch(53.26% 0.199 328.7)
XYZxyz(23.5248, 12.9857, 36.3822)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A631A4 #31A633
analogous
#6E31A6 #A631A4 #A63169
triadic
#A631A4 #A4A631 #31A4A6
tetradic
#A631A4 #A66E31 #31A633 #3169A6
square
#A631A4 #A66E31 #31A633 #3169A6
split-complementary
#A631A4 #69A631 #31A66E
monochromatic
#471547 #772375 #A631A4 #CA4AC8 #D87AD6

Accessibility & contrast

On white

5.84
#A631A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A631A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A631A4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A631A4#FFFFFF#000000##FFFFFF
##A631A41.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205BA7
Deuteranopia (green-blind)
#516AA1
Tritanopia (blue-blind)
#AC4167
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a631a4;
/* rgb */ color: rgb(166, 49, 164);
/* oklch */ color: oklch(53.3% 0.199 328.7);
Tailwind
colors: {
  custom: {
    50: '#c474bf',
    500: '#a631a4',
    950: '#000000',
  },
}
SCSS
$custom: #a631a4;
$custom-light: #c474bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a631a4",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 301.026,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53255,
    "c": 0.19937,
    "h": 328.7
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#A631A4
secondary
#73C074
accent
#DE4D4A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A631A4

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

Preview Lab → · Contrast checker → · Palette generator →

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