#A031A8#A031A8

#A031A8 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.200 H 325.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A031A8
RGBrgb(160, 49, 168)
HSLhsl(296, 55%, 43%)
HSVhsv(296, 71%, 66%)
CMYKcmyk(4.8%, 70.8%, 0%, 34.1%)
CIE-LABlab(42.00, 60.06, -41.13)
CIE-LCHlch(42.00, 72.79, 325.59°)
OKLaboklab(52.61% 0.1636 -0.1144)
OKLCHoklch(52.61% 0.2 325)
XYZxyz(22.6629, 12.4988, 38.2570)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031A8 #39A831
analogous
#6431A8 #A031A8 #A83175
triadic
#A031A8 #A8A031 #31A8A0
tetradic
#A031A8 #A86431 #39A831 #3175A8
square
#A031A8 #A86431 #39A831 #3175A8
split-complementary
#A031A8 #75A831 #31A864
monochromatic
#461549 #732379 #A031A8 #C24CCB #D27BD8

Accessibility & contrast

On white

6.00
#A031A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A031A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031A8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031A8#FFFFFF#000000##FFFFFF
##A031A81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115AAB
Deuteranopia (green-blind)
#4968A5
Tritanopia (blue-blind)
#A44569
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a031a8;
/* rgb */ color: rgb(160, 49, 168);
/* oklch */ color: oklch(52.6% 0.200 325.0);
Tailwind
colors: {
  custom: {
    50: '#c074c2',
    500: '#a031a8',
    950: '#000000',
  },
}
SCSS
$custom: #a031a8;
$custom-light: #c074c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a031a8",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 295.966,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.19965,
    "h": 325
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#A031A8
secondary
#79C174
accent
#DE4A54
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A031A8

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

Preview Lab → · Contrast checker → · Palette generator →

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