#A128B0#A128B0

#A128B0 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.216 H 323.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A128B0
RGBrgb(161, 40, 176)
HSLhsl(293, 63%, 42%)
HSVhsv(293, 77%, 69%)
CMYKcmyk(8.5%, 77.3%, 0%, 31%)
CIE-LABlab(41.58, 64.70, -46.54)
CIE-LCHlch(41.58, 79.70, 324.27°)
OKLaboklab(52.49% 0.1727 -0.1301)
OKLCHoklch(52.49% 0.216 323)
XYZxyz(23.2925, 12.2307, 42.1998)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128B0 #37B028
analogous
#5D28B0 #A128B0 #B0287B
triadic
#A128B0 #B0A128 #28B0A1
tetradic
#A128B0 #B05D28 #37B028 #287BB0
square
#A128B0 #B05D28 #37B028 #287BB0
split-complementary
#A128B0 #7BB028 #28B05D
monochromatic
#46114C #731D7E #A128B0 #C441D4 #D373DF

Accessibility & contrast

On white

6.09
#A128B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A128B0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A128B0#FFFFFF#000000##FFFFFF
##A128B01.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a128b0;
/* rgb */ color: rgb(161, 40, 176);
/* oklch */ color: oklch(52.5% 0.216 323.0);
Tailwind
colors: {
  custom: {
    50: '#c170c8',
    500: '#a128b0',
    950: '#000000',
  },
}
SCSS
$custom: #a128b0;
$custom-light: #c170c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a128b0",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 293.382,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52492,
    "c": 0.21618,
    "h": 323
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#A128B0
secondary
#77C66D
accent
#E64254
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A128B0

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

Preview Lab → · Contrast checker → · Palette generator →

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