#A124A8#A124A8

#A124A8 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.214 H 325.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A124A8
RGBrgb(161, 36, 168)
HSLhsl(297, 65%, 40%)
HSVhsv(297, 79%, 66%)
CMYKcmyk(4.2%, 78.6%, 0%, 34.1%)
CIE-LABlab(40.68, 64.50, -43.22)
CIE-LCHlch(40.68, 77.65, 326.18°)
OKLaboklab(51.7% 0.1765 -0.1204)
OKLCHoklch(51.7% 0.214 325.7)
XYZxyz(22.3962, 11.6675, 38.1106)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A124A8 #2BA824
analogous
#5F24A8 #A124A8 #A8246D
triadic
#A124A8 #A8A124 #24A8A1
tetradic
#A124A8 #A85F24 #2BA824 #246DA8
square
#A124A8 #A85F24 #2BA824 #246DA8
split-complementary
#A124A8 #6DA824 #24A85F
monochromatic
#400E43 #711976 #A124A8 #CB35D4 #D868DF

Accessibility & contrast

On white

6.30
#A124A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A124A8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A124A8#FFFFFF#000000##FFFFFF
##A124A81.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#4365A5
Tritanopia (blue-blind)
#A53D66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a124a8;
/* rgb */ color: rgb(161, 36, 168);
/* oklch */ color: oklch(51.7% 0.214 325.7);
Tailwind
colors: {
  custom: {
    50: '#c16ec2',
    500: '#a124a8',
    950: '#000000',
  },
}
SCSS
$custom: #a124a8;
$custom-light: #c16ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a124a8",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 296.818,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.51699,
    "c": 0.21362,
    "h": 325.7
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#A124A8
secondary
#69C463
accent
#E84049
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A124A8

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

Preview Lab → · Contrast checker → · Palette generator →

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