#A126B0#A126B0

#A126B0 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.218 H 323.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A126B0
RGBrgb(161, 38, 176)
HSLhsl(293, 64%, 42%)
HSVhsv(293, 78%, 69%)
CMYKcmyk(8.5%, 78.4%, 0%, 31%)
CIE-LABlab(41.37, 65.30, -46.87)
CIE-LCHlch(41.37, 80.38, 324.33°)
OKLaboklab(52.35% 0.1743 -0.131)
OKLCHoklch(52.35% 0.218 323.1)
XYZxyz(23.2268, 12.0993, 42.1779)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A126B0 #35B026
analogous
#5C26B0 #A126B0 #B0267A
triadic
#A126B0 #B0A126 #26B0A1
tetradic
#A126B0 #B05C26 #35B026 #267AB0
square
#A126B0 #B05C26 #35B026 #267AB0
split-complementary
#A126B0 #7AB026 #26B05C
monochromatic
#45104B #731B7E #A126B0 #C53ED5 #D470E0

Accessibility & contrast

On white

6.14
#A126B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A126B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A126B0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A126B0#FFFFFF#000000##FFFFFF
##A126B01.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#3E66AD
Tritanopia (blue-blind)
#A3426B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a126b0;
/* rgb */ color: rgb(161, 38, 176);
/* oklch */ color: oklch(52.3% 0.218 323.1);
Tailwind
colors: {
  custom: {
    50: '#c170c8',
    500: '#a126b0',
    950: '#000000',
  },
}
SCSS
$custom: #a126b0;
$custom-light: #c170c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a126b0",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 293.478,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52346,
    "c": 0.21806,
    "h": 323.1
  },
  "luminance": 0.12098
}

Semantic roles & 50–950 ramp

primary
#A126B0
secondary
#75C76B
accent
#E74052
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A126B0

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

Preview Lab → · Contrast checker → · Palette generator →

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