#A031A6#A031A6

#A031A6 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.198 H 325.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A031A6
RGBrgb(160, 49, 166)
HSLhsl(297, 54%, 42%)
HSVhsv(297, 70%, 65%)
CMYKcmyk(3.6%, 70.5%, 0%, 34.9%)
CIE-LABlab(41.88, 59.70, -40.12)
CIE-LCHlch(41.88, 71.93, 326.10°)
OKLaboklab(52.49% 0.1637 -0.1114)
OKLCHoklch(52.49% 0.198 325.7)
XYZxyz(22.4780, 12.4248, 37.2833)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031A6 #37A631
analogous
#6631A6 #A031A6 #A63172
triadic
#A031A6 #A6A031 #31A6A0
tetradic
#A031A6 #A66631 #37A631 #3172A6
square
#A031A6 #A66631 #37A631 #3172A6
split-complementary
#A031A6 #72A631 #31A666
monochromatic
#451547 #722377 #A031A6 #C34ACA #D37AD8

Accessibility & contrast

On white

6.03
#A031A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A031A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031A6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031A6#FFFFFF#000000##FFFFFF
##A031A61.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155AA9
Deuteranopia (green-blind)
#4A68A3
Tritanopia (blue-blind)
#A44468
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a031a6;
/* rgb */ color: rgb(160, 49, 166);
/* oklch */ color: oklch(52.5% 0.198 325.7);
Tailwind
colors: {
  custom: {
    50: '#c074c1',
    500: '#a031a6',
    950: '#000000',
  },
}
SCSS
$custom: #a031a6;
$custom-light: #c074c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a031a6",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 296.923,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.198,
    "h": 325.7
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#A031A6
secondary
#77C073
accent
#DE4A52
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A031A6

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

Preview Lab → · Contrast checker → · Palette generator →

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