#A128B1#A128B1

#A128B1 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.217 H 322.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A128B1
RGBrgb(161, 40, 177)
HSLhsl(293, 63%, 43%)
HSVhsv(293, 77%, 69%)
CMYKcmyk(9%, 77.4%, 0%, 30.6%)
CIE-LABlab(41.64, 64.88, -47.03)
CIE-LCHlch(41.64, 80.13, 324.06°)
OKLaboklab(52.56% 0.1726 -0.1315)
OKLCHoklch(52.56% 0.217 322.7)
XYZxyz(23.3918, 12.2704, 42.7228)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128B1 #38B128
analogous
#5D28B1 #A128B1 #B1287C
triadic
#A128B1 #B1A128 #28B1A1
tetradic
#A128B1 #B15D28 #38B128 #287CB1
square
#A128B1 #B15D28 #38B128 #287CB1
split-complementary
#A128B1 #7CB128 #28B15D
monochromatic
#46114D #741D7F #A128B1 #C342D4 #D374E0

Accessibility & contrast

On white

6.08
#A128B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A128B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A128B1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A128B1#FFFFFF#000000##FFFFFF
##A128B11.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#A3436C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a128b1;
/* rgb */ color: rgb(161, 40, 177);
/* oklch */ color: oklch(52.6% 0.217 322.7);
Tailwind
colors: {
  custom: {
    50: '#c170c9',
    500: '#a128b1',
    950: '#000000',
  },
}
SCSS
$custom: #a128b1;
$custom-light: #c170c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a128b1",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 292.993,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52556,
    "c": 0.21699,
    "h": 322.7
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#A128B1
secondary
#78C76E
accent
#E64255
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A128B1

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

Preview Lab → · Contrast checker → · Palette generator →

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