#A124CA#A124CA

#A124CA is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 54.0% C 0.241 H 315.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A124CA
RGBrgb(161, 36, 202)
HSLhsl(285, 70%, 47%)
HSVhsv(285, 82%, 79%)
CMYKcmyk(20.3%, 82.2%, 0%, 20.8%)
CIE-LABlab(42.92, 70.56, -59.63)
CIE-LCHlch(42.92, 92.38, 319.80°)
OKLaboklab(53.99% 0.1718 -0.1684)
OKLCHoklch(53.99% 0.241 315.6)
XYZxyz(25.9878, 13.1041, 57.0261)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A124CA #4DCA24
analogous
#4E24CA #A124CA #CA24A0
triadic
#A124CA #CAA124 #24CAA1
tetradic
#A124CA #CA4E24 #4DCA24 #24A0CA
square
#A124CA #CA4E24 #4DCA24 #24A0CA
split-complementary
#A124CA #A0CA24 #24CA4E
monochromatic
#4E1162 #781B96 #A124CA #BB4CDF #CF80E8

Accessibility & contrast

On white

5.80
#A124CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A124CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A124CA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A124CA#FFFFFF#000000##FFFFFF
##A124CA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#1C68C7
Tritanopia (blue-blind)
#9E4E7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a124ca;
/* rgb */ color: rgb(161, 36, 202);
/* oklch */ color: oklch(54.0% 0.241 315.6);
Tailwind
colors: {
  custom: {
    50: '#c270db',
    500: '#a124ca',
    950: '#000000',
  },
}
SCSS
$custom: #a124ca;
$custom-light: #c270db;
$custom-dark: #000000;
JSON
{
  "hex": "#a124ca",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 202
  },
  "hsl": {
    "h": 285.181,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53985,
    "c": 0.24062,
    "h": 315.6
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#A124CA
secondary
#8FD179
accent
#ED3B67
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A124CA

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

Preview Lab → · Contrast checker → · Palette generator →

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