#A124B2#A124B2

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

Color values

HEX#A124B2
RGBrgb(161, 36, 178)
HSLhsl(293, 66%, 42%)
HSVhsv(293, 80%, 70%)
CMYKcmyk(9.6%, 79.8%, 0%, 30.2%)
CIE-LABlab(41.30, 66.22, -48.17)
CIE-LCHlch(41.30, 81.89, 323.96°)
OKLaboklab(52.34% 0.1756 -0.1348)
OKLCHoklch(52.34% 0.221 322.5)
XYZxyz(23.3639, 12.0546, 43.2070)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A124B2 #35B224
analogous
#5A24B2 #A124B2 #B2247C
triadic
#A124B2 #B2A124 #24B2A1
tetradic
#A124B2 #B25A24 #35B224 #247CB2
square
#A124B2 #B25A24 #35B224 #247CB2
split-complementary
#A124B2 #7CB224 #24B25A
monochromatic
#450F4C #731A7F #A124B2 #C53CD8 #D46FE2

Accessibility & contrast

On white

6.16
#A124B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A124B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A124B2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A124B2#FFFFFF#000000##FFFFFF
##A124B21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3C66AF
Tritanopia (blue-blind)
#A3426C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a124b2;
/* rgb */ color: rgb(161, 36, 178);
/* oklch */ color: oklch(52.3% 0.221 322.5);
Tailwind
colors: {
  custom: {
    50: '#c16fca',
    500: '#a124b2',
    950: '#000000',
  },
}
SCSS
$custom: #a124b2;
$custom-light: #c16fca;
$custom-dark: #000000;
JSON
{
  "hex": "#a124b2",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 178
  },
  "hsl": {
    "h": 292.817,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52336,
    "c": 0.22142,
    "h": 322.5
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#A124B2
secondary
#75C869
accent
#E93F53
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A124B2

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

Preview Lab → · Contrast checker → · Palette generator →

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