#A124A7#A124A7

#A124A7 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.213 H 326.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A124A7
RGBrgb(161, 36, 167)
HSLhsl(297, 65%, 40%)
HSVhsv(297, 78%, 65%)
CMYKcmyk(3.6%, 78.4%, 0%, 34.5%)
CIE-LABlab(40.62, 64.34, -42.72)
CIE-LCHlch(40.62, 77.23, 326.42°)
OKLaboklab(51.64% 0.1766 -0.1189)
OKLCHoklch(51.64% 0.213 326)
XYZxyz(22.3034, 11.6304, 37.6219)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A124A7 #2AA724
analogous
#6024A7 #A124A7 #A7246C
triadic
#A124A7 #A7A124 #24A7A1
tetradic
#A124A7 #A76024 #2AA724 #246CA7
square
#A124A7 #A76024 #2AA724 #246CA7
split-complementary
#A124A7 #6CA724 #24A760
monochromatic
#400E42 #701975 #A124A7 #CC35D3 #D967DE

Accessibility & contrast

On white

6.31
#A124A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A124A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A124A7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A124A7#FFFFFF#000000##FFFFFF
##A124A71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#4465A4
Tritanopia (blue-blind)
#A53C65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a124a7;
/* rgb */ color: rgb(161, 36, 167);
/* oklch */ color: oklch(51.6% 0.213 326.0);
Tailwind
colors: {
  custom: {
    50: '#c16ec2',
    500: '#a124a7',
    950: '#000000',
  },
}
SCSS
$custom: #a124a7;
$custom-light: #c16ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a124a7",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 297.252,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51637,
    "c": 0.21285,
    "h": 326
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#A124A7
secondary
#67C463
accent
#E84048
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A124A7

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

Preview Lab → · Contrast checker → · Palette generator →

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