#A123A4#A123A4

#A123A4 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.211 H 327.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A123A4
RGBrgb(161, 35, 164)
HSLhsl(299, 65%, 39%)
HSVhsv(299, 79%, 64%)
CMYKcmyk(1.8%, 78.7%, 0%, 35.7%)
CIE-LABlab(40.35, 64.12, -41.36)
CIE-LCHlch(40.35, 76.30, 327.17°)
OKLaboklab(51.38% 0.1775 -0.1149)
OKLCHoklch(51.38% 0.211 327.1)
XYZxyz(21.9995, 11.4611, 36.1683)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A123A4 #26A423
analogous
#6123A4 #A123A4 #A42367
triadic
#A123A4 #A4A123 #23A4A1
tetradic
#A123A4 #A46123 #26A423 #2367A4
square
#A123A4 #A46123 #26A423 #2367A4
split-complementary
#A123A4 #67A423 #23A461
monochromatic
#3E0D3F #6F1872 #A123A4 #CF31D3 #DB64DE

Accessibility & contrast

On white

6.38
#A123A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A123A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A123A4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A123A4#FFFFFF#000000##FFFFFF
##A123A41.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#4664A1
Tritanopia (blue-blind)
#A63A64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a123a4;
/* rgb */ color: rgb(161, 35, 164);
/* oklch */ color: oklch(51.4% 0.211 327.1);
Tailwind
colors: {
  custom: {
    50: '#c16ebf',
    500: '#a123a4',
    950: '#000000',
  },
}
SCSS
$custom: #a123a4;
$custom-light: #c16ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#a123a4",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 298.605,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51383,
    "c": 0.21147,
    "h": 327.1
  },
  "luminance": 0.11459
}

Semantic roles & 50–950 ramp

primary
#A123A4
secondary
#62C360
accent
#E84044
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A123A4

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

Preview Lab → · Contrast checker → · Palette generator →

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