#A031CA#A031CA

#A031CA is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.229 H 314.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A031CA
RGBrgb(160, 49, 202)
HSLhsl(284, 61%, 49%)
HSVhsv(284, 76%, 79%)
CMYKcmyk(20.8%, 75.7%, 0%, 20.8%)
CIE-LABlab(44.14, 66.41, -57.66)
CIE-LCHlch(44.14, 87.95, 319.03°)
OKLaboklab(54.81% 0.1606 -0.1628)
OKLCHoklch(54.81% 0.229 314.6)
XYZxyz(26.2544, 13.9354, 57.1725)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A031CA #5BCA31
analogous
#5331CA #A031CA #CA31A8
triadic
#A031CA #CAA031 #31CAA0
tetradic
#A031CA #CA5331 #5BCA31 #31A8CA
square
#A031CA #CA5331 #5BCA31 #31A8CA
split-complementary
#A031CA #A8CA31 #31CA53
monochromatic
#521967 #792599 #A031CA #B760D8 #CD91E4

Accessibility & contrast

On white

5.55
#A031CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A031CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A031CA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A031CA#FFFFFF#000000##FFFFFF
##A031CA1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#286BC7
Tritanopia (blue-blind)
#9C547C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a031ca;
/* rgb */ color: rgb(160, 49, 202);
/* oklch */ color: oklch(54.8% 0.229 314.6);
Tailwind
colors: {
  custom: {
    50: '#c175db',
    500: '#a031ca',
    950: '#000000',
  },
}
SCSS
$custom: #a031ca;
$custom-light: #c175db;
$custom-dark: #000000;
JSON
{
  "hex": "#a031ca",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 283.529,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54812,
    "c": 0.2287,
    "h": 314.6
  },
  "luminance": 0.13934
}

Semantic roles & 50–950 ramp

primary
#A031CA
secondary
#9BCF88
accent
#E44470
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A031CA

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

Preview Lab → · Contrast checker → · Palette generator →

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