#A123A6#A123A6

#A123A6 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.213 H 326.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A123A6
RGBrgb(161, 35, 166)
HSLhsl(298, 65%, 39%)
HSVhsv(298, 79%, 65%)
CMYKcmyk(3%, 78.9%, 0%, 34.9%)
CIE-LABlab(40.47, 64.45, -42.37)
CIE-LCHlch(40.47, 77.13, 326.68°)
OKLaboklab(51.51% 0.1774 -0.1179)
OKLCHoklch(51.51% 0.213 326.4)
XYZxyz(22.1815, 11.5339, 37.1270)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A123A6 #28A623
analogous
#6023A6 #A123A6 #A6236A
triadic
#A123A6 #A6A123 #23A6A1
tetradic
#A123A6 #A66023 #28A623 #236AA6
square
#A123A6 #A66023 #28A623 #236AA6
split-complementary
#A123A6 #6AA623 #23A660
monochromatic
#3F0E41 #701873 #A123A6 #CE32D4 #DA65DF

Accessibility & contrast

On white

6.35
#A123A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A123A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A123A6
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A123A6#FFFFFF#000000##FFFFFF
##A123A61.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#4465A3
Tritanopia (blue-blind)
#A53B65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a123a6;
/* rgb */ color: rgb(161, 35, 166);
/* oklch */ color: oklch(51.5% 0.213 326.4);
Tailwind
colors: {
  custom: {
    50: '#c16ec1',
    500: '#a123a6',
    950: '#000000',
  },
}
SCSS
$custom: #a123a6;
$custom-light: #c16ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a123a6",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 297.71,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51506,
    "c": 0.21299,
    "h": 326.4
  },
  "luminance": 0.11532
}

Semantic roles & 50–950 ramp

primary
#A123A6
secondary
#65C461
accent
#E84046
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A123A6

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

Preview Lab → · Contrast checker → · Palette generator →

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