#A123A9#A123A9

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

Color values

HEX#A123A9
RGBrgb(161, 35, 169)
HSLhsl(296, 66%, 40%)
HSVhsv(296, 79%, 66%)
CMYKcmyk(4.7%, 79.3%, 0%, 33.7%)
CIE-LABlab(40.65, 64.95, -43.87)
CIE-LCHlch(40.65, 78.38, 325.96°)
OKLaboklab(51.69% 0.1772 -0.1223)
OKLCHoklch(51.69% 0.215 325.4)
XYZxyz(22.4599, 11.6452, 38.5932)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A123A9 #2BA923
analogous
#5E23A9 #A123A9 #A9236E
triadic
#A123A9 #A9A123 #23A9A1
tetradic
#A123A9 #A95E23 #2BA923 #236EA9
square
#A123A9 #A95E23 #2BA923 #236EA9
split-complementary
#A123A9 #6EA923 #23A95E
monochromatic
#400E44 #711976 #A123A9 #CB34D5 #D867DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A123A9#FFFFFF#000000##FFFFFF
##A123A91.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)
#0056AC
Deuteranopia (green-blind)
#4265A6
Tritanopia (blue-blind)
#A53D66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a123a9;
/* rgb */ color: rgb(161, 35, 169);
/* oklch */ color: oklch(51.7% 0.215 325.4);
Tailwind
colors: {
  custom: {
    50: '#c16ec3',
    500: '#a123a9',
    950: '#000000',
  },
}
SCSS
$custom: #a123a9;
$custom-light: #c16ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#a123a9",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 296.418,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.21529,
    "h": 325.4
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#A123A9
secondary
#69C563
accent
#E93F49
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A123A9

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

Preview Lab → · Contrast checker → · Palette generator →

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