#A123A7#A123A7

#A123A7 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.214 H 326.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A123A7
RGBrgb(161, 35, 167)
HSLhsl(297, 65%, 40%)
HSVhsv(297, 79%, 65%)
CMYKcmyk(3.6%, 79%, 0%, 34.5%)
CIE-LABlab(40.53, 64.62, -42.87)
CIE-LCHlch(40.53, 77.55, 326.44°)
OKLaboklab(51.57% 0.1773 -0.1193)
OKLCHoklch(51.57% 0.214 326.1)
XYZxyz(22.2736, 11.5707, 37.6119)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A123A7 #29A723
analogous
#5F23A7 #A123A7 #A7236B
triadic
#A123A7 #A7A123 #23A7A1
tetradic
#A123A7 #A75F23 #29A723 #236BA7
square
#A123A7 #A75F23 #29A723 #236BA7
split-complementary
#A123A7 #6BA723 #23A75F
monochromatic
#3F0E42 #701874 #A123A7 #CD33D4 #D966DF

Accessibility & contrast

On white

6.34
#A123A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A123A7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A123A7#FFFFFF#000000##FFFFFF
##A123A71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#4465A4
Tritanopia (blue-blind)
#A53C65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a123a7;
/* rgb */ color: rgb(161, 35, 167);
/* oklch */ color: oklch(51.6% 0.214 326.1);
Tailwind
colors: {
  custom: {
    50: '#c16ec2',
    500: '#a123a7',
    950: '#000000',
  },
}
SCSS
$custom: #a123a7;
$custom-light: #c16ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a123a7",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 297.273,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.21376,
    "h": 326.1
  },
  "luminance": 0.11569
}

Semantic roles & 50–950 ramp

primary
#A123A7
secondary
#66C461
accent
#E83F47
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A123A7

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

Preview Lab → · Contrast checker → · Palette generator →

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