#A124B1#A124B1

#A124B1 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.3% C 0.221 H 322.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A124B1
RGBrgb(161, 36, 177)
HSLhsl(293, 66%, 42%)
HSVhsv(293, 80%, 69%)
CMYKcmyk(9%, 79.7%, 0%, 30.6%)
CIE-LABlab(41.24, 66.04, -47.68)
CIE-LCHlch(41.24, 81.46, 324.17°)
OKLaboklab(52.27% 0.1757 -0.1334)
OKLCHoklch(52.27% 0.221 322.8)
XYZxyz(23.2639, 12.0146, 42.6801)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A124B1 #34B124
analogous
#5A24B1 #A124B1 #B1247B
triadic
#A124B1 #B1A124 #24B1A1
tetradic
#A124B1 #B15A24 #34B124 #247BB1
square
#A124B1 #B15A24 #34B124 #247BB1
split-complementary
#A124B1 #7BB124 #24B15A
monochromatic
#440F4B #731A7E #A124B1 #C53BD7 #D46EE1

Accessibility & contrast

On white

6.17
#A124B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A124B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A124B1
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A124B1#FFFFFF#000000##FFFFFF
##A124B11.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#3C66AE
Tritanopia (blue-blind)
#A3416B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a124b1;
/* rgb */ color: rgb(161, 36, 177);
/* oklch */ color: oklch(52.3% 0.221 322.8);
Tailwind
colors: {
  custom: {
    50: '#c16fc9',
    500: '#a124b1',
    950: '#000000',
  },
}
SCSS
$custom: #a124b1;
$custom-light: #c16fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a124b1",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 293.191,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52271,
    "c": 0.22064,
    "h": 322.8
  },
  "luminance": 0.12013
}

Semantic roles & 50–950 ramp

primary
#A124B1
secondary
#74C869
accent
#E93F52
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A124B1

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

Preview Lab → · Contrast checker → · Palette generator →

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