#A128D1#A128D1

#A128D1 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.8% C 0.243 H 313.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A128D1
RGBrgb(161, 40, 209)
HSLhsl(283, 68%, 49%)
HSVhsv(283, 81%, 82%)
CMYKcmyk(23%, 80.9%, 0%, 18%)
CIE-LABlab(43.80, 70.78, -62.25)
CIE-LCHlch(43.80, 94.26, 318.67°)
OKLaboklab(54.76% 0.1677 -0.1762)
OKLCHoklch(54.76% 0.243 313.6)
XYZxyz(26.9633, 13.6990, 61.5331)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A128D1 #58D128
analogous
#4D28D1 #A128D1 #D128AD
triadic
#A128D1 #D1A128 #28D1A1
tetradic
#A128D1 #D14D28 #58D128 #28ADD1
square
#A128D1 #D14D28 #58D128 #28ADD1
split-complementary
#A128D1 #ADD128 #28D14D
monochromatic
#52146A #791E9E #A128D1 #B857DF #CE8BE9

Accessibility & contrast

On white

5.62
#A128D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A128D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A128D1
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A128D1#FFFFFF#000000##FFFFFF
##A128D11.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0C6ACE
Tritanopia (blue-blind)
#9C537E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a128d1;
/* rgb */ color: rgb(161, 40, 209);
/* oklch */ color: oklch(54.8% 0.243 313.6);
Tailwind
colors: {
  custom: {
    50: '#c272e0',
    500: '#a128d1',
    950: '#000000',
  },
}
SCSS
$custom: #a128d1;
$custom-light: #c272e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a128d1",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 209
  },
  "hsl": {
    "h": 282.959,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.2432,
    "h": 313.6
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

primary
#A128D1
secondary
#99D382
accent
#EB3D6E
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A128D1

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

Preview Lab → · Contrast checker → · Palette generator →

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