#A031C4#A031C4

#A031C4 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.223 H 316.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A031C4
RGBrgb(160, 49, 196)
HSLhsl(285, 60%, 48%)
HSVhsv(285, 75%, 77%)
CMYKcmyk(18.4%, 75%, 0%, 23.1%)
CIE-LABlab(43.74, 65.24, -54.83)
CIE-LCHlch(43.74, 85.22, 319.96°)
OKLaboklab(54.4% 0.1615 -0.1545)
OKLCHoklch(54.4% 0.223 316.3)
XYZxyz(25.5578, 13.6568, 53.5036)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031C4 #55C431
analogous
#5631C4 #A031C4 #C4319E
triadic
#A031C4 #C4A031 #31C4A0
tetradic
#A031C4 #C45631 #55C431 #319EC4
square
#A031C4 #C45631 #55C431 #319EC4
split-complementary
#A031C4 #9EC431 #31C456
monochromatic
#501962 #782593 #A031C4 #B85CD6 #CE8DE2

Accessibility & contrast

On white

5.63
#A031C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A031C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031C4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031C4#FFFFFF#000000##FFFFFF
##A031C41.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#306AC1
Tritanopia (blue-blind)
#9E5179
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a031c4;
/* rgb */ color: rgb(160, 49, 196);
/* oklch */ color: oklch(54.4% 0.223 316.3);
Tailwind
colors: {
  custom: {
    50: '#c075d7',
    500: '#a031c4',
    950: '#000000',
  },
}
SCSS
$custom: #a031c4;
$custom-light: #c075d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a031c4",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 285.306,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.22348,
    "h": 316.3
  },
  "luminance": 0.13656
}

Semantic roles & 50–950 ramp

primary
#A031C4
secondary
#96CD84
accent
#E3456B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A031C4

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

Preview Lab → · Contrast checker → · Palette generator →

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