#A231A0#A231A0

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

Color values

HEX#A231A0
RGBrgb(162, 49, 160)
HSLhsl(301, 54%, 41%)
HSVhsv(301, 70%, 64%)
CMYKcmyk(0%, 69.8%, 1.2%, 36.5%)
CIE-LABlab(41.87, 59.13, -36.53)
CIE-LCHlch(41.87, 69.51, 328.29°)
OKLaboklab(52.43% 0.1658 -0.101)
OKLCHoklch(52.43% 0.194 328.7)
XYZxyz(22.3435, 12.4177, 34.4709)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231A0 #31A233
analogous
#6C31A2 #A231A0 #A23168
triadic
#A231A0 #A0A231 #31A0A2
tetradic
#A231A0 #A26C31 #31A233 #3168A2
square
#A231A0 #A26C31 #31A233 #3168A2
split-complementary
#A231A0 #68A231 #31A26C
monochromatic
#441543 #732372 #A231A0 #C848C6 #D677D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A231A0#FFFFFF#000000##FFFFFF
##A231A01.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)
#2159A3
Deuteranopia (green-blind)
#4F689D
Tritanopia (blue-blind)
#A74165
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a231a0;
/* rgb */ color: rgb(162, 49, 160);
/* oklch */ color: oklch(52.4% 0.194 328.7);
Tailwind
colors: {
  custom: {
    50: '#c174bc',
    500: '#a231a0',
    950: '#000000',
  },
}
SCSS
$custom: #a231a0;
$custom-light: #c174bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a231a0",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 301.062,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.19413,
    "h": 328.7
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#A231A0
secondary
#71BE72
accent
#DD4D4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A231A0

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

Preview Lab → · Contrast checker → · Palette generator →

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