#A031C2#A031C2

#A031C2 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.222 H 316.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A031C2
RGBrgb(160, 49, 194)
HSLhsl(286, 60%, 48%)
HSVhsv(286, 75%, 76%)
CMYKcmyk(17.5%, 74.7%, 0%, 23.9%)
CIE-LABlab(43.60, 64.85, -53.88)
CIE-LCHlch(43.60, 84.31, 320.28°)
OKLaboklab(54.26% 0.1618 -0.1517)
OKLCHoklch(54.26% 0.222 316.8)
XYZxyz(25.3317, 13.5663, 52.3127)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031C2 #53C231
analogous
#5731C2 #A031C2 #C2319C
triadic
#A031C2 #C2A031 #31C2A0
tetradic
#A031C2 #C25731 #53C231 #319CC2
square
#A031C2 #C25731 #53C231 #319CC2
split-complementary
#A031C2 #9CC231 #31C257
monochromatic
#4F1860 #782591 #A031C2 #B95BD6 #CE8CE2

Accessibility & contrast

On white

5.66
#A031C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A031C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031C2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031C2#FFFFFF#000000##FFFFFF
##A031C21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#336ABF
Tritanopia (blue-blind)
#9E5078
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a031c2;
/* rgb */ color: rgb(160, 49, 194);
/* oklch */ color: oklch(54.3% 0.222 316.8);
Tailwind
colors: {
  custom: {
    50: '#c075d5',
    500: '#a031c2',
    950: '#000000',
  },
}
SCSS
$custom: #a031c2;
$custom-light: #c075d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a031c2",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 285.931,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.22175,
    "h": 316.8
  },
  "luminance": 0.13565
}

Semantic roles & 50–950 ramp

primary
#A031C2
secondary
#94CC83
accent
#E3456A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A031C2

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

Preview Lab → · Contrast checker → · Palette generator →

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