#A124C7#A124C7

#A124C7 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.8% C 0.238 H 316.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A124C7
RGBrgb(161, 36, 199)
HSLhsl(286, 69%, 46%)
HSVhsv(286, 82%, 78%)
CMYKcmyk(19.1%, 81.9%, 0%, 22%)
CIE-LABlab(42.71, 70.00, -58.23)
CIE-LCHlch(42.71, 91.05, 320.25°)
OKLaboklab(53.77% 0.1724 -0.1643)
OKLCHoklch(53.77% 0.238 316.4)
XYZxyz(25.6360, 12.9634, 55.1736)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A124C7 #4AC724
analogous
#4F24C7 #A124C7 #C7249B
triadic
#A124C7 #C7A124 #24C7A1
tetradic
#A124C7 #C74F24 #4AC724 #249BC7
square
#A124C7 #C74F24 #4AC724 #249BC7
split-complementary
#A124C7 #9BC724 #24C74F
monochromatic
#4D115F #771B93 #A124C7 #BC4ADE #CF7EE8

Accessibility & contrast

On white

5.85
#A124C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A124C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A124C7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A124C7#FFFFFF#000000##FFFFFF
##A124C71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#9E4C78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a124c7;
/* rgb */ color: rgb(161, 36, 199);
/* oklch */ color: oklch(53.8% 0.238 316.4);
Tailwind
colors: {
  custom: {
    50: '#c270d9',
    500: '#a124c7',
    950: '#000000',
  },
}
SCSS
$custom: #a124c7;
$custom-light: #c270d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a124c7",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 199
  },
  "hsl": {
    "h": 286.012,
    "s": 69.362,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.23819,
    "h": 316.4
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#A124C7
secondary
#8CD077
accent
#EC3C65
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A124C7

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

Preview Lab → · Contrast checker → · Palette generator →

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