#A124A5#A124A5

#A124A5 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.211 H 326.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A124A5
RGBrgb(161, 36, 165)
HSLhsl(298, 64%, 39%)
HSVhsv(298, 78%, 65%)
CMYKcmyk(2.4%, 78.2%, 0%, 35.3%)
CIE-LABlab(40.50, 64.00, -41.71)
CIE-LCHlch(40.50, 76.40, 326.91°)
OKLaboklab(51.51% 0.1767 -0.116)
OKLCHoklch(51.51% 0.211 326.7)
XYZxyz(22.1200, 11.5570, 36.6557)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A124A5 #28A524
analogous
#6124A5 #A124A5 #A52468
triadic
#A124A5 #A5A124 #24A5A1
tetradic
#A124A5 #A56124 #28A524 #2468A5
square
#A124A5 #A56124 #28A524 #2468A5
split-complementary
#A124A5 #68A524 #24A561
monochromatic
#3F0E41 #701973 #A124A5 #CE34D3 #DA66DE

Accessibility & contrast

On white

6.34
#A124A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A124A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A124A5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A124A5#FFFFFF#000000##FFFFFF
##A124A51.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4565A2
Tritanopia (blue-blind)
#A63B64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a124a5;
/* rgb */ color: rgb(161, 36, 165);
/* oklch */ color: oklch(51.5% 0.211 326.7);
Tailwind
colors: {
  custom: {
    50: '#c16ec0',
    500: '#a124a5',
    950: '#000000',
  },
}
SCSS
$custom: #a124a5;
$custom-light: #c16ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#a124a5",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 298.14,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51513,
    "c": 0.21132,
    "h": 326.7
  },
  "luminance": 0.11555
}

Semantic roles & 50–950 ramp

primary
#A124A5
secondary
#65C362
accent
#E74146
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A124A5

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

Preview Lab → · Contrast checker → · Palette generator →

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