#A231A1#A231A1

#A231A1 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.195 H 328.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A231A1
RGBrgb(162, 49, 161)
HSLhsl(301, 54%, 41%)
HSVhsv(301, 70%, 64%)
CMYKcmyk(0%, 69.8%, 0.6%, 36.5%)
CIE-LABlab(41.93, 59.30, -37.04)
CIE-LCHlch(41.93, 69.92, 328.01°)
OKLaboklab(52.49% 0.1658 -0.1025)
OKLCHoklch(52.49% 0.195 328.3)
XYZxyz(22.4314, 12.4528, 34.9335)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231A1 #31A232
analogous
#6B31A2 #A231A1 #A23169
triadic
#A231A1 #A1A231 #31A1A2
tetradic
#A231A1 #A26B31 #31A232 #3169A2
square
#A231A1 #A26B31 #31A232 #3169A2
split-complementary
#A231A1 #69A231 #31A26B
monochromatic
#441544 #732372 #A231A1 #C848C7 #D677D5

Accessibility & contrast

On white

6.02
#A231A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A231A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231A1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231A1#FFFFFF#000000##FFFFFF
##A231A11.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A4
Deuteranopia (green-blind)
#4F689E
Tritanopia (blue-blind)
#A74165
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a231a1;
/* rgb */ color: rgb(162, 49, 161);
/* oklch */ color: oklch(52.5% 0.195 328.3);
Tailwind
colors: {
  custom: {
    50: '#c174bd',
    500: '#a231a1',
    950: '#000000',
  },
}
SCSS
$custom: #a231a1;
$custom-light: #c174bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a231a1",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 161
  },
  "hsl": {
    "h": 300.531,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.19493,
    "h": 328.3
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#A231A1
secondary
#71BE71
accent
#DD4C4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A231A1

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

Preview Lab → · Contrast checker → · Palette generator →

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